]> git.ipfire.org Git - thirdparty/qemu.git/commit
meson.build: Set RUST_BACKTRACE for all tests
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 10 Mar 2025 10:29:50 +0000 (10:29 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 14 Mar 2025 12:54:33 +0000 (12:54 +0000)
commita019e15edfd62beae1e2f6adc0fa7415ba20b14c
tree38501e02c60ea6be34f342de126ca8148b3ff747
parentcc7abc35dfa790ba6c20473c03745428c1c626b6
meson.build: Set RUST_BACKTRACE for all tests

We want to capture potential Rust backtraces on panics in our test
logs, which isn't Rust's default behaviour.  Set RUST_BACKTRACE=1 in
the add_test_setup environments, so that all our tests get run with
this environment variable set.

This makes the setting of that variable in the gitlab CI template
redundant, so we can remove it.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20250310102950.3752908-1-peter.maydell@linaro.org
.gitlab-ci.d/buildtest-template.yml
meson.build