On Mon, 10 Mar 2025 at 09:40, Paolo Bonzini <pbonz...@redhat.com> wrote: > > On Mon, Mar 10, 2025 at 10:25 AM Daniel P. Berrangé <berra...@redhat.com> > wrote: > > > 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... > > > > Meson's 'test()' command accepts env variables, but it'll be somewhat > > tedious to add the same env to all case where we use test. Might want > > to define a common 'testenv' set at the top level meson.build and then > > reference it from every 'test()', unless meson has built-in support > > for globally applied env vars that I'm missing. > > It can be added to add_test_setup().
Thanks -- I just sent a patch to do it that way: https://patchew.org/QEMU/20250310102950.3752908-1-peter.mayd...@linaro.org/ -- PMM