Explorar o código

[Scripts/regression] Treat timeouts as failure

Simon Gaiser %!s(int64=7) %!d(string=hai) anos
pai
achega
483cde8ab7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Scripts/regression.py

+ 1 - 1
Scripts/regression.py

@@ -81,7 +81,7 @@ class Regression:
                 for (name, check, ignore_failure, times) in self.runs[combined_args]:
                     if run_times == times:
                         result = check(outputs)
-                        if result:
+                        if not timed_out and result:
                             print '\033[92m[Success       ]\033[0m', name
                         else:
                             if ignore_failure: