summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2023-09-15 21:57:57 +0200
committerJanneke Nieuwenhuizen <janneke@gnu.org>2023-09-15 22:05:23 +0200
commitedca2863bcb52388fe454e14136264a4f7490273 (patch)
treeaa0e302fe478b9f4ddcc453384956f956f9c90ab /tests
parentb696fb41bc0dfcb7130a5aa6d69aff2ae191c283 (diff)
downloadguix-edca2863bcb52388fe454e14136264a4f7490273.tar.gz
tests: Fix "package-transitive-supported-systems, implicit inputs".
This is a follow-up to commit
    0e08ad7f19d5b29a4883468552b5d213a7bdb66e
    gnu: linux-libre-headers: Remove i586-gnu from supported-systems.

See also <https://issues.guix.gnu.org/65755>.

* tests/packages.scm ("package-transitive-supported-systems, implicit inputs"):
Filter expectiation with target-linux?, as %current-system is linux.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/packages.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/packages.scm b/tests/packages.scm
index 2b4f9f8e90..a623628447 100644
--- a/tests/packages.scm
+++ b/tests/packages.scm
@@ -494,7 +494,7 @@
          (member "boo" keys))))
 
 (test-equal "package-transitive-supported-systems, implicit inputs"
-  %supported-systems
+  (filter target-linux? %supported-systems)
 
   ;; Here GNU-BUILD-SYSTEM adds implicit inputs that build only on
   ;; %SUPPORTED-SYSTEMS.  Thus the others must be ignored.