diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-05-17 22:53:10 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-05-17 22:53:10 (GMT) |
commit | d57bd2834275a27cdc4a526bd281b099ac38577a (patch) | |
tree | 3317f8fac3aa6bc900c8cffdb6621bb5b1473370 /src/engine | |
parent | 844fe22d98169da1738a5a1dc99b87e4e068e21a (diff) | |
download | SCons-d57bd2834275a27cdc4a526bd281b099ac38577a.zip SCons-d57bd2834275a27cdc4a526bd281b099ac38577a.tar.gz SCons-d57bd2834275a27cdc4a526bd281b099ac38577a.tar.bz2 |
PY2/3 disable symlink and links for win32 in FSTests.py
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/SCons/Node/FSTests.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/engine/SCons/Node/FSTests.py b/src/engine/SCons/Node/FSTests.py index 306f1a2..399ac06 100644 --- a/src/engine/SCons/Node/FSTests.py +++ b/src/engine/SCons/Node/FSTests.py @@ -485,6 +485,14 @@ class VariantDirTestCase(unittest.TestCase): real_symlink = os.symlink except AttributeError: real_symlink = None + + # Disable symlink and link for now in win32. + # We don't have a consistant plan to make these work as yet + # They are only supported with PY3 + if sys.platform == 'win32': + real_symlink = None + real_link = None + real_copy = shutil.copy2 simulator = LinkSimulator(duplicate, real_link, real_symlink, real_copy) |