浏览代码

[Scripts/regression] Treat timeouts as failure

Simon Gaiser 6 年之前
父节点
当前提交
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: