diff options
author | Steven Knight <knight@baldmt.com> | 2009-03-18 07:24:36 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2009-03-18 07:24:36 (GMT) |
commit | 3469e3b99156774d1f6cbd2efc12a477a2799faf (patch) | |
tree | e7d439fdcf951b55968d520ef3b3f6f07c55ee12 | |
parent | efa6c9777b0be0fc3011cba0080916fc43b80a8c (diff) | |
download | SCons-3469e3b99156774d1f6cbd2efc12a477a2799faf.zip SCons-3469e3b99156774d1f6cbd2efc12a477a2799faf.tar.gz SCons-3469e3b99156774d1f6cbd2efc12a477a2799faf.tar.bz2 |
Add a missing test.pass_test() line to test/Java nested-classes.py.
Update src/test_strings.py to verify these files all have an appropriate
'\.pass_test()' line.
-rw-r--r-- | src/test_strings.py | 15 | ||||
-rw-r--r-- | test/Java/nested-classes.py | 2 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/test_strings.py b/src/test_strings.py index 25f2370..3dc1888 100644 --- a/src/test_strings.py +++ b/src/test_strings.py @@ -111,6 +111,13 @@ class CheckUnexpandedStrings(Checker): 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'), @@ -140,6 +147,14 @@ check_list = [ search_list = [ '*.py' ], ), + CheckPassTest( + 'test', + search_list = [ '*.py' ], + remove_list = [ + 'Fortran/common.py', + ], + ), + CheckExpandedCopyright( build_scons, remove_list = [ diff --git a/test/Java/nested-classes.py b/test/Java/nested-classes.py index 7772c57..2b1b5db 100644 --- a/test/Java/nested-classes.py +++ b/test/Java/nested-classes.py @@ -100,6 +100,8 @@ public class Test { test.run(arguments = '.') +test.pass_test() + # Local Variables: # tab-width:4 # indent-tabs-mode:nil |