From fbc5ff6235e5fb53900d17f2bb69caec03240ba4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Araujo?= Date: Fri, 12 Aug 2011 17:50:08 +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 9eb367d..dc6b932 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