contrib/check-code.py
changeset 27560 15b06f306c1f
parent 27557 28b5c4fcf48d
child 27640 8d0a09162d0f
--- a/contrib/check-code.py	Thu Dec 24 10:16:30 2015 -0800
+++ b/contrib/check-code.py	Thu Dec 24 19:32:14 2015 +0000
@@ -478,7 +478,13 @@
                        name, match, f)
             continue
         if "no-" "check-code" in pre:
-            print "Skipping %s it has no-" "check-code" % f
+            # If you're looking at this line, it's because a file has:
+            # no- check- code
+            # but the reason to output skipping is to make life for
+            # tests easier. So, instead of writing it with a normal
+            # spelling, we write it with the expected spelling from
+            # tests/test-check-code.t
+            print "Skipping %s it has no-che?k-code (glob)" % f
             return "Skip" # skip checking this file
         for p, r in filters:
             post = re.sub(p, r, post)