summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2016-06-12 14:40:56 +0200
committerMathieu Lirzin <mthl@gnu.org>2016-06-13 18:11:09 +0200
commite5609c29c4b3e570772f3d0e5b310bcf1078fe6d (patch)
treec51d2e26ade172010ffe00b7678268895daabd46 /tests
parent6642651271f5f41b4512d7c7f7c8393bf1d73793 (diff)
downloadcuirass-e5609c29c4b3e570772f3d0e5b310bcf1078fe6d.tar
cuirass-e5609c29c4b3e570772f3d0e5b310bcf1078fe6d.tar.gz
gnu-system: Add hello subset.
* tests/gnu-system.scm (hydra-jobs): Add hello subset.
Diffstat (limited to 'tests')
-rw-r--r--tests/gnu-system.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/gnu-system.scm b/tests/gnu-system.scm
index 943ae26..d58f47e 100644
--- a/tests/gnu-system.scm
+++ b/tests/gnu-system.scm
@@ -170,8 +170,9 @@ valid."
"Return Hydra jobs."
(define subset
(match (assoc-ref arguments 'subset)
- ("core" 'core) ; only build core packages
- (_ 'all))) ; build everything
+ ("core" 'core) ; only build core packages
+ ("hello" 'hello) ; only build hello
+ (_ 'all))) ; build everything
(define (cross-jobs system)
(define (from-32-to-64? target)
@@ -226,6 +227,11 @@ valid."
package system))
%core-packages)
(cross-jobs system)))
+ ((hello)
+ ;; Build hello package only.
+ (if (string=? system (%current-system))
+ (list (package-job-spec store (job-name hello) hello system))
+ '()))
(else
(error "unknown subset" subset))))
%hydra-supported-systems)))