summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/test_strings.py15
-rw-r--r--test/Java/nested-classes.py2
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