Skip to content

Commit

Permalink
Skip symlink tests on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpakkane committed Aug 26, 2024
1 parent b522231 commit 79c47bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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',
Expand Down
2 changes: 1 addition & 1 deletion test cases/common/41 test args/pathtester.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import sys, subprocess

if sys.platorm() == 'win32':
if sys.platform == 'win32':
cmd = ['xcopy', '/?']
else:
cmd = ['env']
Expand Down

0 comments on commit 79c47bd

Please sign in to comment.