summaryrefslogtreecommitdiffstats
path: root/QMTest/TestCmd.py
diff options
context:
space:
mode:
authorGary Oberbrunner <garyo@oberbrunner.com>2011-02-27 21:51:38 (GMT)
committerGary Oberbrunner <garyo@oberbrunner.com>2011-02-27 21:51:38 (GMT)
commite123fce835056a1e75c6630fe146bb7d45b19970 (patch)
tree313e397d99cd3214f373800f81fee756e8d43660 /QMTest/TestCmd.py
parentd52e3d6a0b0d9bd486c29ba0eb7e992fea14a786 (diff)
downloadSCons-e123fce835056a1e75c6630fe146bb7d45b19970.zip
SCons-e123fce835056a1e75c6630fe146bb7d45b19970.tar.gz
SCons-e123fce835056a1e75c6630fe146bb7d45b19970.tar.bz2
Misc Windows test cleanups
Diffstat (limited to 'QMTest/TestCmd.py')
-rw-r--r--QMTest/TestCmd.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/QMTest/TestCmd.py b/QMTest/TestCmd.py
index 2c90302..d64ef78 100644
--- a/QMTest/TestCmd.py
+++ b/QMTest/TestCmd.py
@@ -1394,7 +1394,10 @@ class TestCmd(object):
under the temporary working directory.
"""
link = self.canonicalize(link)
- os.symlink(target, link)
+ try:
+ os.symlink(target, link)
+ except AttributeError:
+ pass # Windows has no symlink
def tempdir(self, path=None):
"""Creates a temporary directory.