More doc infrastructure enhancements towards putting the function
[scons.git] / src / test_strings.py
index 25f2370e44e0d231592f9615981db28403a75881..4ca2245e63222368908297f528cadacb072d62a6 100644 (file)
@@ -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 = [
@@ -225,7 +240,14 @@ check_list = [
             'src/engine/SCons/dblite.py',
             'src/script/MANIFEST.in',
             'src/script/setup.cfg',
+            'test/Fortran/.exclude_tests',
+            'timings/changelog.html',
+            'timings/graph.html',
+            'timings/index.html',
         ],
+        remove_patterns = [
+            '*.js',
+        ]
     ),
 
 ]