Browse Source

gitlab-ci: include full Rust backtraces in test runs

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Paolo Bonzini 6 months ago
parent
commit
3b36ee7202
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .gitlab-ci.d/buildtest-template.yml

+ 1 - 0
.gitlab-ci.d/buildtest-template.yml

@@ -63,6 +63,7 @@
   stage: test
   stage: test
   image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:$QEMU_CI_CONTAINER_TAG
   image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:$QEMU_CI_CONTAINER_TAG
   script:
   script:
+    - export RUST_BACKTRACE=1
     - source scripts/ci/gitlab-ci-section
     - source scripts/ci/gitlab-ci-section
     - section_start buildenv "Setting up to run tests"
     - section_start buildenv "Setting up to run tests"
     - scripts/git-submodule.sh update roms/SLOF
     - scripts/git-submodule.sh update roms/SLOF