From a5afa4955dfd4ed63485b049874442016245c72e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Araujo?= Date: Fri, 19 Aug 2011 08:41:00 +0200 Subject: =?UTF-8?q?patchcheck:=20don=E2=80=99t=20talk=20about=20the=20test?= =?UTF-8?q?=20suite=20when=20no=20code=20file=20were=20changed.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The line about the test suite will still get printed for changes in Tools for example, which aren’t covered by the test suite, but it’s not a big deal IMO. --- Tools/scripts/patchcheck.py | 5 +++-- 1 file 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__': -- cgit v0.12