summaryrefslogtreecommitdiff
path: root/run_format_tests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2024-10-11 17:15:43 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2024-10-11 22:44:30 +0300
commitadeb844b40ea338fefdbae0270f8152a2afe9c44 (patch)
treed05bf69f7ef0f3489bc17d51eccb67b75261d707 /run_format_tests.py
parent4d1623078fa4c217c8c4e779839121988e0b7be4 (diff)
downloadmeson-adeb844b40ea338fefdbae0270f8152a2afe9c44.tar.gz
Recreate Boost symlink at runtime to survive sdist. Closes: #13763.
Diffstat (limited to 'run_format_tests.py')
-rwxr-xr-xrun_format_tests.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/run_format_tests.py b/run_format_tests.py
index 719b76b5a..30c975882 100755
--- a/run_format_tests.py
+++ b/run_format_tests.py
@@ -65,9 +65,12 @@ def check_format() -> None:
check_file(root / file)
def check_symlinks():
+ # Test data must NOT contain symlinks. setup.py
+ # butchers them. If you need symlinks, they need
+ # to be created on the fly.
for f in Path('test cases').glob('**/*'):
if f.is_symlink():
- if 'boost symlinks' in str(f):
+ if 'boost symlinks/boost/lib' in str(f):
continue
raise SystemExit(f'Test data dir contains symlink: {f}.')