Show make "test" as -1 if no test failed but make return non zero
[build-farm.git] / buildfarm / data.py
index 437cd76e0eb043bcc458ce4eeba861f9db94dc51..b6cdc59a40e622100f6a7968d2d381f285a39e8c 100644 (file)
@@ -58,6 +58,8 @@ def build_status_from_logs(log, err):
                 tstatus = test_failures
             else:
                 tstatus = 255
+            if m.group(1) == "FAILED" and tstatus == 0:
+                tstatus = -1
         else:
             tstatus = None