diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2024-10-11 17:15:43 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2024-10-11 22:44:30 +0300 |
| commit | adeb844b40ea338fefdbae0270f8152a2afe9c44 (patch) | |
| tree | d05bf69f7ef0f3489bc17d51eccb67b75261d707 /run_format_tests.py | |
| parent | 4d1623078fa4c217c8c4e779839121988e0b7be4 (diff) | |
| download | meson-adeb844b40ea338fefdbae0270f8152a2afe9c44.tar.gz | |
Recreate Boost symlink at runtime to survive sdist. Closes: #13763.
Diffstat (limited to 'run_format_tests.py')
| -rwxr-xr-x | run_format_tests.py | 5 |
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}.') |
