summaryrefslogtreecommitdiffstats
path: root/test/nonexistent.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2009-04-16 15:41:23 (GMT)
committerSteven Knight <knight@baldmt.com>2009-04-16 15:41:23 (GMT)
commit9b8ccfaa89dc6ac713b12a326780586143f1ad31 (patch)
treee14b18b52361062a1e9db85fd85d85b8147a489c /test/nonexistent.py
parent0c80feb11aed6cb608112e53e29c93956bb0f767 (diff)
downloadSCons-9b8ccfaa89dc6ac713b12a326780586143f1ad31.zip
SCons-9b8ccfaa89dc6ac713b12a326780586143f1ad31.tar.gz
SCons-9b8ccfaa89dc6ac713b12a326780586143f1ad31.tar.bz2
Win32 fixes: update error message, accomodate re match.
Diffstat (limited to 'test/nonexistent.py')
-rw-r--r--test/nonexistent.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/nonexistent.py b/test/nonexistent.py
index 770f3b7..4a4bd6d 100644
--- a/test/nonexistent.py
+++ b/test/nonexistent.py
@@ -31,6 +31,8 @@ or uses a nonexistent source file.
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os.path
+import re
+
import TestSCons
test = TestSCons.TestSCons()
@@ -51,7 +53,7 @@ test.run(arguments = 'foo',
match=TestSCons.match_re_dotall)
test.run(arguments = '-k foo/bar foo',
- stderr = "scons: \\*\\*\\* Do not know how to make File target `%s' \\(.*foo.bar\\).\n" % foo_bar,
+ stderr = "scons: \\*\\*\\* Do not know how to make File target `%s' \\(.*foo.bar\\).\n" % re.escape(foo_bar),
status = 2,
match=TestSCons.match_re_dotall)