tests: Fix "package-transitive-supported-systems, implicit inputs".

This is a follow-up to commit
    0e08ad7f19
    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>
This commit is contained in:
Janneke Nieuwenhuizen 2023-09-15 21:57:57 +02:00
parent b696fb41bc
commit edca2863bc
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -494,7 +494,7 @@ (define read-at
(member "boo" keys)))) (member "boo" keys))))
(test-equal "package-transitive-supported-systems, implicit inputs" (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 ;; Here GNU-BUILD-SYSTEM adds implicit inputs that build only on
;; %SUPPORTED-SYSTEMS. Thus the others must be ignored. ;; %SUPPORTED-SYSTEMS. Thus the others must be ignored.