Procházet zdrojové kódy

[Scripts/regression] Treat timeouts as failure

Simon Gaiser před 6 roky
rodič
revize
483cde8ab7
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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: