database: Remove "db-add-build-log" test.

* tests/database/scm ("db-add-build-log"): Delete.
pull/3/head
Mathieu Lirzin 2016-07-26 12:08:46 +02:00
parent f97b24c29e
commit 815e8060af
No known key found for this signature in database
GPG Key ID: 0ADEE10094604D37
1 changed files with 0 additions and 9 deletions

View File

@ -83,15 +83,6 @@ INSERT INTO Evaluations (derivation, job_name, specification)\
(test-assert "db-get-evaluation"
(db-get-evaluation (%db) (%id)))
(test-expect-fail "db-add-build-log")
;; XXX: 'Builds' database table is not implemented yet.
(test-equal "db-add-build-log"
"foo log"
(let ((job (acons #:id (%id) (make-dummy-job)))
(log-column 3))
(db-add-build-log (%db) job "foo log")
(vector-ref (db-get-evaluation (%db) (%id)) log-column)))
(test-assert "db-close"
(db-close (%db))))
(λ ()