From 9ae17d73a8c6ac2505a5613be4f71fc12a89db3f Mon Sep 17 00:00:00 2001 From: Martin Peres Date: Sat, 23 Jan 2016 15:54:02 +0200 Subject: ezbench.py: fix a potential double delete --- utils/ezbench.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/ezbench.py b/utils/ezbench.py index 4cb514d..3ce5aef 100644 --- a/utils/ezbench.py +++ b/utils/ezbench.py @@ -530,7 +530,7 @@ class SmartEzbench: # Delete the tests on commits that do not compile for commit in report.commits: - if commit.compil_exit_code > 0: + if commit.build_broken() and commit.sha1 in task_tree: self.__log(Criticality.II, "Cancelling the following runs because commit {} does not compile:".format(commit.sha1)) self.__log(Criticality.II, task_tree[commit.sha1]) -- cgit v1.2.3