tests: skip symlink creation when not supported

pull/11142/head
Charles Brunet 1 year ago committed by Dylan Baker
parent 8bc8f93436
commit 35d89301a9
  1. 7
      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:

Loading…
Cancel
Save