summaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorCharles Brunet <charles.brunet@optelgroup.com>2023-12-13 09:01:37 -0500
committerDylan Baker <dylan@pnwbakers.com>2023-12-22 09:46:04 -0800
commit35d89301a908a42b9fe1284dd616cffabdfc45aa (patch)
tree162d9208deb48961222cb24c85e7176fa14098aa /run_project_tests.py
parent8bc8f93436599835bd4434672e038545cce6c164 (diff)
downloadmeson-35d89301a908a42b9fe1284dd616cffabdfc45aa.tar.gz
tests: skip symlink creation when not supported
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py7
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: