Просмотр исходного кода

[Scripts/regression] Treat timeouts as failure

Simon Gaiser 6 лет назад
Родитель
Сommit
483cde8ab7
1 измененных файлов с 1 добавлено и 1 удалено
  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: