diff options
| author | Charles Brunet <charles.brunet@optelgroup.com> | 2023-12-13 09:01:37 -0500 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2023-12-22 09:46:04 -0800 |
| commit | 35d89301a908a42b9fe1284dd616cffabdfc45aa (patch) | |
| tree | 162d9208deb48961222cb24c85e7176fa14098aa /run_project_tests.py | |
| parent | 8bc8f93436599835bd4434672e038545cce6c164 (diff) | |
| download | meson-35d89301a908a42b9fe1284dd616cffabdfc45aa.tar.gz | |
tests: skip symlink creation when not supported
Diffstat (limited to 'run_project_tests.py')
| -rwxr-xr-x | run_project_tests.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/run_project_tests.py b/run_project_tests.py index e75b98fbc..ab567d327 100755 --- a/run_project_tests.py +++ b/run_project_tests.py @@ -1574,8 +1574,11 @@ def clear_transitive_files() -> None: pass def setup_symlinks() -> None: - symlink_file1.symlink_to('file1') - symlink_file2.symlink_to('file1') + try: + symlink_file1.symlink_to('file1') + symlink_file2.symlink_to('file1') + except OSError: + print('symlinks are not supported on this system') if __name__ == '__main__': if under_ci and not raw_ci_jobname: |
