summaryrefslogtreecommitdiffstats
path: root/test/Delete.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-08-30 05:04:22 (GMT)
committerSteven Knight <knight@baldmt.com>2004-08-30 05:04:22 (GMT)
commitc1315083b2616e381a8ec5b73cab554a98eb54ae (patch)
treeb0de3a643b1bdc84d145595bd3bad218e9388dac /test/Delete.py
parent43e7e59dc3885411c1c58c9c26c7adbc0e191e0a (diff)
downloadSCons-c1315083b2616e381a8ec5b73cab554a98eb54ae.zip
SCons-c1315083b2616e381a8ec5b73cab554a98eb54ae.tar.gz
SCons-c1315083b2616e381a8ec5b73cab554a98eb54ae.tar.bz2
Test fixes: Win32 portability in Delete.py; fix a problem in msvs.py introduced by quoting Python executables; clean up temporary files/directories properly in SConfTests.py and UtilTests.py.
Diffstat (limited to 'test/Delete.py')
-rw-r--r--test/Delete.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Delete.py b/test/Delete.py
index c57a810..138dc95 100644
--- a/test/Delete.py
+++ b/test/Delete.py
@@ -161,6 +161,8 @@ test.write('f14.in', "f14.in\n")
test.run(status=2, stderr=None)
-test.fail_test(string.find(test.stderr(), "No such file or directory") == -1)
+stderr = test.stderr()
+test.fail_test(string.find(stderr, "No such file or directory") == -1 and
+ string.find(stderr, "The system cannot find the path specified") == -1)
test.pass_test()