[epiphany] tests: Make sure initial PATH is kept in test environment
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] tests: Make sure initial PATH is kept in test environment
- Date: Fri, 11 Feb 2022 22:02:21 +0000 (UTC)
commit 0a9889c13cf12e1feb98384baa9b0697e73c00ec
Author: vanadiae <vanadiae35 gmail com>
Date: Sat Jan 22 00:10:39 2022 +0100
tests: Make sure initial PATH is kept in test environment
Otherwise it's not possible to use `meson test --gdb` as gdb isn't
in the $build_root / 'src' folder, and Builder can't find bwrap when
running tests from the builtin sidebar.
Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1055>
tests/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/meson.build b/tests/meson.build
index bfee4398c..f804d0742 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'),
+ 'PATH=' + join_paths(meson.build_root(), 'src') + ':' + run_command('printenv', 'PATH').stdout(),
]
test_cargs = ['-UG_DISABLE_ASSERT']
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]