diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-05-20 14:39:56 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-05-28 20:18:10 +0300 |
commit | 949187868196edc4fa3ba21b033f8a08a2b391d6 (patch) | |
tree | 9b6906a9b61dfb94a7f8b872faf480c11cfae721 | |
parent | 0714ba58c7e3683156a258649e723518c0e2ddc7 (diff) | |
download | meson-949187868196edc4fa3ba21b033f8a08a2b391d6.zip meson-949187868196edc4fa3ba21b033f8a08a2b391d6.tar.gz meson-949187868196edc4fa3ba21b033f8a08a2b391d6.tar.bz2 |
meson-introspect: do not include host environment in test/benchmark introspection
The host environment could change between the time "meson setup"
produces intro-tests.json, and the time "meson test" is run.
Including it only adds clutter to the introspection data.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | mesonbuild/mintro.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mintro.py b/mesonbuild/mintro.py index 1d716ef..7975684 100644 --- a/mesonbuild/mintro.py +++ b/mesonbuild/mintro.py @@ -299,7 +299,7 @@ def get_test_list(testdata): fname = t.fname to['cmd'] = fname + t.cmd_args if isinstance(t.env, build.EnvironmentVariables): - to['env'] = t.env.get_env(os.environ) + to['env'] = t.env.get_env({}) else: to['env'] = t.env to['name'] = t.name |