On Wed, 29 Jan 2025 at 08:21, Paolo Bonzini <pbonz...@redhat.com> wrote:
>
> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
> ---
>  .gitlab-ci.d/buildtest-template.yml | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/.gitlab-ci.d/buildtest-template.yml 
> b/.gitlab-ci.d/buildtest-template.yml
> index 39da7698b09..4cc19239319 100644
> --- a/.gitlab-ci.d/buildtest-template.yml
> +++ b/.gitlab-ci.d/buildtest-template.yml
> @@ -63,6 +63,7 @@
>    stage: test
>    image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:$QEMU_CI_CONTAINER_TAG
>    script:
> +    - export RUST_BACKTRACE=1
>      - source scripts/ci/gitlab-ci-section
>      - section_start buildenv "Setting up to run tests"
>      - scripts/git-submodule.sh update roms/SLOF
> --

This will only add the rust backtraces when the tests
are run from the CI logs, not when you locally run
"make check" or similar. There's probably a better place
to put this...

-- PMM

Reply via email to