summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/patchcheck.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Tools/scripts/patchcheck.py b/Tools/scripts/patchcheck.py
index 1075dc2..2834fef 100755
--- a/Tools/scripts/patchcheck.py
+++ b/Tools/scripts/patchcheck.py
@@ -157,8 +157,9 @@ def main():
reported_news(special_files)
# Test suite run and passed.
- print
- print "Did you run the test suite?"
+ if python_files or c_files:
+ print
+ print "Did you run the test suite?"
if __name__ == '__main__':