Expanded SCons.Scanner.LaTeX.comment_re to not break on \%
[scons.git] / test / SConstruct.py
index a3ad3aa810538e206d6c921a3a94f5e10cf3e40d..f061728df126eec9b3c535b523f7213f52136c35 100644 (file)
@@ -34,10 +34,9 @@ test.run(arguments = ".",
          stdout = "",
          stderr = r"""
 scons: \*\*\* No SConstruct file found.
-File "[^"]+", line \d+, in \S+
-""")
+""" + TestSCons.file_expr)
 
-test.match_func = TestCmd.match_exact
+test.match_function = TestCmd.match_exact
 
 wpath = test.workpath()
 
@@ -70,3 +69,9 @@ test.run(arguments = ".",
                                    build_str = "scons: `.' is up to date.\n"))
 
 test.pass_test()
+
+# Local Variables:
+# tab-width:4
+# indent-tabs-mode:nil
+# End:
+# vim: set expandtab tabstop=4 shiftwidth=4: