From 35d89301a908a42b9fe1284dd616cffabdfc45aa Mon Sep 17 00:00:00 2001 From: Charles Brunet Date: Wed, 13 Dec 2023 09:01:37 -0500 Subject: tests: skip symlink creation when not supported --- run_project_tests.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'run_project_tests.py') 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: -- cgit v1.2.3