While the PATH separator is ':' on POSIX systems,
on Windows it is ';'. Do not force the separator,
let meson use the default which Do(es) the Right Thing:
https://mesonbuild.com/Reference-manual_functions.html#environment_separator

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
---
 tests/functional/meson.build | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/tests/functional/meson.build b/tests/functional/meson.build
index c158197c4b7..e3adc42cfdb 100644
--- a/tests/functional/meson.build
+++ b/tests/functional/meson.build
@@ -78,8 +78,7 @@ foreach speed : ['quick', 'thorough']
     test_env.set('MESON_BUILD_ROOT', meson.project_build_root())
     test_env.prepend('PYTHONPATH',
                      meson.project_source_root() / 'python',
-                     meson.current_source_dir(),
-                     separator : ':')
+                     meson.current_source_dir())
 
     # Define the GDB environment variable if gdb is available.
     gdb = get_option('gdb')
@@ -101,8 +100,7 @@ foreach speed : ['quick', 'thorough']
       test_precache_env.set('MESON_BUILD_ROOT', meson.project_build_root())
       test_precache_env.prepend('PYTHONPATH',
                                 meson.project_source_root() / 'python',
-                                meson.current_source_dir(),
-                                separator : ':')
+                                meson.current_source_dir())
       precache = custom_target('func-precache-' + testname,
                                output: teststamp,
                                command: [python, testpath],
-- 
2.53.0


Reply via email to