From 79c47bd9d4c080e9f13368c12233709eb4c75bbc Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sat, 24 Aug 2024 09:41:37 +0300 Subject: Skip symlink tests on Windows. --- .../common/268 install functions and follow symlinks/meson.build | 4 ++++ test cases/common/41 test args/pathtester.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) mode change 100644 => 100755 test cases/common/41 test args/pathtester.py diff --git a/test cases/common/268 install functions and follow symlinks/meson.build b/test cases/common/268 install functions and follow symlinks/meson.build index 327c02131..9158ea8ee 100644 --- a/test cases/common/268 install functions and follow symlinks/meson.build +++ b/test cases/common/268 install functions and follow symlinks/meson.build @@ -1,5 +1,9 @@ project('install_data following symlinks') +if build_machine.system() == 'windows' + error('MESON_SKIP_TEST symlinks (typically) do not work on Windows.') +endif + install_data( 'foo/link1', install_dir: get_option('datadir') / 'followed', diff --git a/test cases/common/41 test args/pathtester.py b/test cases/common/41 test args/pathtester.py old mode 100644 new mode 100755 index 101136611..96152845d --- a/test cases/common/41 test args/pathtester.py +++ b/test cases/common/41 test args/pathtester.py @@ -2,7 +2,7 @@ import sys, subprocess -if sys.platorm() == 'win32': +if sys.platform == 'win32': cmd = ['xcopy', '/?'] else: cmd = ['env'] -- cgit v1.2.3