diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2024-08-24 09:41:37 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2024-08-26 18:38:37 +0300 |
| commit | 79c47bd9d4c080e9f13368c12233709eb4c75bbc (patch) | |
| tree | b95b6871aad98f00f291ab48707bd7a6ef329b32 | |
| parent | b522231c88173b69fcc8c20a337aa3e83978b3f3 (diff) | |
| download | meson-79c47bd9d4c080e9f13368c12233709eb4c75bbc.tar.gz | |
Skip symlink tests on Windows.
| -rw-r--r-- | test cases/common/268 install functions and follow symlinks/meson.build | 4 | ||||
| -rwxr-xr-x[-rw-r--r--] | test cases/common/41 test args/pathtester.py | 2 |
2 files changed, 5 insertions, 1 deletions
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 index 101136611..96152845d 100644..100755 --- 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'] |
