From adeb844b40ea338fefdbae0270f8152a2afe9c44 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Fri, 11 Oct 2024 17:15:43 +0300 Subject: Recreate Boost symlink at runtime to survive sdist. Closes: #13763. --- run_format_tests.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'run_format_tests.py') 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}.') -- cgit v1.2.3