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(). Paolo