diff options
author | Gary Oberbrunner <garyo@oberbrunner.com> | 2011-02-27 21:51:38 +0000 |
---|---|---|
committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2011-02-27 21:51:38 +0000 |
commit | 7a71c1c2ec6cefbaea7078b0c3f0c2e7f5b3fad4 (patch) | |
tree | 313e397d99cd3214f373800f81fee756e8d43660 /test/Delete.py | |
parent | 8b591af5d3d54a8431c0912d633f80dd2ea6e292 (diff) | |
download | scons-7a71c1c2ec6cefbaea7078b0c3f0c2e7f5b3fad4.tar.gz |
Misc Windows test cleanups
Diffstat (limited to 'test/Delete.py')
-rw-r--r-- | test/Delete.py | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/test/Delete.py b/test/Delete.py index 0740a7c9..49b46001 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): |