summaryrefslogtreecommitdiff
path: root/run_format_tests.py
diff options
context:
space:
mode:
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}.')