validate: Let people know the testsuite starts running
authorThibault Saunier <tsaunier@igalia.com>
Fri, 1 Feb 2019 04:24:19 +0000 (01:24 -0300)
committerThibault Saunier <tsaunier@igalia.com>
Fri, 1 Feb 2019 04:24:33 +0000 (01:24 -0300)
Now that we do not print infos about successful tests when redirecting.

validate/launcher/baseclasses.py

index 92a0210..486793e 100644 (file)
@@ -1769,6 +1769,8 @@ class _TestsLauncher(Loggable):
             all_tests = self.list_tests()
             self.all_tests = all_tests
         self.total_num_tests = len(self.all_tests)
+        if not sys.stdout.isatty():
+            printc("\nRunning %d tests..." % self.total_num_tests, color=Colors.HEADER)
 
         self.reporter.init_timer()
         alone_tests = []