aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-11-07 15:05:37 +0100
committerLudovic Courtès <ludo@gnu.org>2018-11-07 15:28:05 +0100
commit2c712d35df5d1514e28b479f960a53b89ce59424 (patch)
tree38e908429069ceb05bf6f0bd726df9e827c119fe
parent2d7b703197bd1e64aa6908eb9044128d705d31b0 (diff)
downloadcuirass-2c712d35df5d1514e28b479f960a53b89ce59424.tar
cuirass-2c712d35df5d1514e28b479f960a53b89ce59424.tar.gz
base: Clear the "in progress" bit of failed evaluations.
Fixes <https://bugs.gnu.org/32734>. * src/cuirass/base.scm (evaluate): Call 'db-set-evaluation-done' upon '&evaluation-error'.
-rw-r--r--src/cuirass/base.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cuirass/base.scm b/src/cuirass/base.scm
index 9b275f2..b321778 100644
--- a/src/cuirass/base.scm
+++ b/src/cuirass/base.scm
@@ -306,6 +306,7 @@ Return a list of jobs that are associated to EVAL-ID."
;; otherwise, suppose that data read from port are
;; correct and keep things going.
((? eof-object?)
+ (db-set-evaluation-done eval-id) ;failed!
(raise (condition
(&evaluation-error
(name (assq-ref spec #:name))))))