Hello,

the attached patch should go to core-updates, but I would be in favour of 
moving it quickly to the master branch. It enables other make targets for 
the check phase; for instance, openssl needs "make test". The machinery was 
essentially in place, but the test-target variable was not passed to the 
appropriate build function.

Andreas


From 80b6c78100ee5a2acedd2276639ea2fa770ec4a5 Mon Sep 17 00:00:00 2001
From: Andreas Enge <[email protected]>
Date: Sat, 29 Dec 2012 21:03:23 +0100
Subject: [PATCH 2/2] gnu build system: enable test-target during the check
 phase

* guix/build-system/gnu.scm: add variable test-target
---
 guix/build-system/gnu.scm |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/guix/build-system/gnu.scm b/guix/build-system/gnu.scm
index 9d94680..53fc474 100644
--- a/guix/build-system/gnu.scm
+++ b/guix/build-system/gnu.scm
@@ -152,6 +152,7 @@ System: GCC, GNU Make, Bash, Coreutils, etc."
                     (out-of-source? #f)
                     (path-exclusions ''())
                     (tests? #t)
+                    (test-target "check")
                     (parallel-build? #t) (parallel-tests? #t)
                     (patch-shebangs? #t)
                     (strip-binaries? #t)
@@ -193,6 +194,7 @@ which could lead to gratuitous input divergence."
                   #:out-of-source? ,out-of-source?
                   #:path-exclusions ,path-exclusions
                   #:tests? ,tests?
+                  #:test-target ,test-target
                   #:parallel-build? ,parallel-build?
                   #:parallel-tests? ,parallel-tests?
                   #:patch-shebangs? ,patch-shebangs?
-- 
1.7.10.4

Reply via email to