summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Peres <martin.peres@free.fr>2016-01-23 15:54:02 +0200
committerMartin Peres <martin.peres@free.fr>2016-01-23 15:54:02 +0200
commit9ae17d73a8c6ac2505a5613be4f71fc12a89db3f (patch)
tree7bf99ce867881e8d45702135af67cc30a73e7b70
parent651347bf7fca3103b9be1fd52f861bdf5466dbfc (diff)
ezbench.py: fix a potential double delete
-rw-r--r--utils/ezbench.py2
1 files changed, 1 insertions, 1 deletions
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])