guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[shepherd] 01/03: maint: Perform system test on x86_64-linux only.


From: Ludovic Courtès
Subject: [shepherd] 01/03: maint: Perform system test on x86_64-linux only.
Date: Sun, 8 Oct 2023 17:20:02 -0400 (EDT)

civodul pushed a commit to branch master
in repository shepherd.

commit 2b4fd6afeb81d8be5ffea3d0addcd2460469f3ac
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sun Oct 8 22:01:29 2023 +0200

    maint: Perform system test on x86_64-linux only.
    
    Until now, the system test would potentially run on any system, in
    particular any system configured on the Cuirass side.  This is
    unnecessary.
    
    * .guix/manifest.scm (system-test->manifest-entry): Wrap in
    ‘with-parameters’ to limit to x86_64-linux.
---
 .guix/manifest.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.guix/manifest.scm b/.guix/manifest.scm
index 22a240f..ec0693b 100644
--- a/.guix/manifest.scm
+++ b/.guix/manifest.scm
@@ -95,7 +95,11 @@ TARGET."
 (define (system-test->manifest-entry test)
   "Return a manifest entry for @var{test}, a system test."
   (manifest-entry
-    (name (system-test-name test))
+    ;; The system test on x86_64 is relatively expensive; run it on x86_64
+    ;; only.
+    (name (with-parameters ((%current-system "x86_64-linux")
+                            (%current-target-system #f))
+            (system-test-name test)))
     (version "0")
     (item test)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]