Fix the test on all Python versions (failed on versions before 2.5 due
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 18 Feb 2010 14:28:50 +0000 (14:28 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 18 Feb 2010 14:28:50 +0000 (14:28 +0000)
to some regex problem).

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4678 fdb21ef1-2011-0410-befe-b5e4ea1792b1

test/Builder/not-a-Builder.py

index 355dc77a452fc9e2df8ae48fd9ad50f492596dc7..37ce6056cefc8a24dbfbbfa92fdc8f7f797f3cbb 100644 (file)
@@ -44,13 +44,12 @@ env.mkdir(env.Dir('src'), None)
 
 expect_stderr = """\
 
-scons: \\*\\*\\* .* is not a Builder\\.
+scons: *** 1 is not a Builder.
 """ + test.python_file_line(SConstruct_path, 4)
 
 test.run(arguments='.',
          stderr=expect_stderr,
-         status=2,
-         match=TestSCons.match_re)
+         status=2)
 
 
 test.pass_test()