guix-data-service/tests/model-derivation.scm
Christopher Baines 9dde93422c Add powerpc64le-linux as a supported system
This should not be necessary, but currently the database isn't used to find
out the valid system values.
2021-02-12 08:47:09 +00:00

22 lines
578 B
Scheme

(define-module (test-model-derivation)
#:use-module (srfi srfi-64)
#:use-module (guix-data-service database)
#:use-module (guix-data-service model derivation))
(test-begin "test-model-derivation")
(with-postgresql-connection
"test-model-derivation"
(lambda (conn)
(check-test-database! conn)
(test-equal "valid-systems"
'("aarch64-linux" "armhf-linux" "i586-gnu"
"i686-linux" "mips64el-linux" "powerpc64le-linux" "x86_64-linux")
(valid-systems conn))
(test-equal "count-derivations"
'("0")
(count-derivations conn))))
(test-end)