diff options
author | Michael Catanzaro <mcatanzaro@redhat.com> | 2022-08-05 15:33:49 -0500 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@redhat.com> | 2022-08-05 15:33:49 -0500 |
commit | 73c4fb039ec59ea8a8a14790c23e3dfc326756a1 (patch) | |
tree | 60b9a2feb7e9400bc073ff96b8250801c55bb61b /tests | |
parent | f875aad49a2b157ed944925c2f6da604715a1fe5 (diff) | |
download | epiphany-73c4fb039ec59ea8a8a14790c23e3dfc326756a1.tar.gz |
build: check result of run_command()
This avoids whining from Meson, see:
https://github.com/mesonbuild/meson/issues/9300
and is surely a good idea in general.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/meson.build b/tests/meson.build index d120d1391..7d474497a 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -3,7 +3,7 @@ envs = [ 'G_TEST_BUILDDIR=' + meson.current_build_dir(), 'GSETTINGS_SCHEMA_DIR=' + join_paths(meson.build_root(), 'data'), 'GSETTINGS_BACKEND=memory', - 'PATH=' + join_paths(meson.build_root(), 'src') + ':' + run_command('printenv', 'PATH').stdout(), + 'PATH=' + join_paths(meson.build_root(), 'src') + ':' + run_command('printenv', 'PATH', check: true).stdout(), ] test_cargs = ['-UG_DISABLE_ASSERT'] |