Update src/test_strings.py to verify these files all have an appropriate
'\.pass_test()' line.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4075
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
def must_be_built(self):
return None
+class CheckPassTest(Checker):
+ expressions = [
+ re.compile(r'\.pass_test()'),
+ ]
+ def must_be_built(self):
+ return None
+
class CheckExpandedCopyright(Checker):
expressions = [
re.compile('Copyright.*The SCons Foundation'),
search_list = [ '*.py' ],
),
+ CheckPassTest(
+ 'test',
+ search_list = [ '*.py' ],
+ remove_list = [
+ 'Fortran/common.py',
+ ],
+ ),
+
CheckExpandedCopyright(
build_scons,
remove_list = [
test.run(arguments = '.')
+test.pass_test()
+
# Local Variables:
# tab-width:4
# indent-tabs-mode:nil