summaryrefslogtreecommitdiffstats
path: root/test/Delete.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 /test/Delete.py
parentd52e3d6a0b0d9bd486c29ba0eb7e992fea14a786 (diff)
downloadSCons-e123fce835056a1e75c6630fe146bb7d45b19970.zip
SCons-e123fce835056a1e75c6630fe146bb7d45b19970.tar.gz
SCons-e123fce835056a1e75c6630fe146bb7d45b19970.tar.bz2
Misc Windows test cleanups
Diffstat (limited to 'test/Delete.py')
-rw-r--r--test/Delete.py31
1 files changed, 17 insertions, 14 deletions
diff --git a/test/Delete.py b/test/Delete.py
index 0740a7c..49b4600 100644
--- a/test/Delete.py
+++ b/test/Delete.py
@@ -28,6 +28,7 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
Verify that the Delete() Action works.
"""
+import sys
import os.path
import TestSCons
@@ -149,13 +150,14 @@ test.must_exist('f9.out-Delete')
test.must_exist('f14')
test.must_exist('d15')
test.must_not_exist('f16.out')
-test.must_exist('symlinks')
-test.must_exist('symlinks/dirtarget')
-test.must_exist('symlinks/dirtarget/dircontent')
-test.must_exist('symlinks/filetarget')
-test.must_exist('symlinks/filelink')
-test.must_exist('symlinks/brokenlink')
-test.must_exist('symlinks/dirlink')
+if sys.platform != 'win32':
+ test.must_exist('symlinks')
+ test.must_exist('symlinks/dirtarget')
+ test.must_exist('symlinks/dirtarget/dircontent')
+ test.must_exist('symlinks/filetarget')
+ test.must_exist('symlinks/filelink')
+ test.must_exist('symlinks/brokenlink')
+ test.must_exist('symlinks/dirlink')
test.run()
@@ -180,13 +182,14 @@ test.must_exist('d13-nonexistent.out')
test.must_not_exist('f14')
test.must_not_exist('d15')
test.must_match('f16.out', "f16.in\n")
-test.must_exist('symlinks')
-test.must_exist('symlinks/dirtarget')
-test.must_exist('symlinks/dirtarget/dircontent')
-test.must_exist('symlinks/filetarget')
-test.must_not_exist('symlinks/filelink')
-test.must_not_exist('symlinks/brokenlink')
-test.must_not_exist('symlinks/dirlink')
+if sys.platform != 'win32':
+ test.must_exist('symlinks')
+ test.must_exist('symlinks/dirtarget')
+ test.must_exist('symlinks/dirtarget/dircontent')
+ test.must_exist('symlinks/filetarget')
+ test.must_not_exist('symlinks/filelink')
+ test.must_not_exist('symlinks/brokenlink')
+ test.must_not_exist('symlinks/dirlink')
test.write("SConstruct", """\
def cat(env, source, target):