[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/18: tests: packages: Set system for expected result of package->bag.
From: |
guix-commits |
Subject: |
02/18: tests: packages: Set system for expected result of package->bag. |
Date: |
Fri, 21 Jul 2023 07:27:02 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 4fbe01491269f788b42a2f89a36676f0fa8f971c
Author: Josselin Poiret <dev@jpoiret.xyz>
AuthorDate: Fri Jul 21 12:14:57 2023 +0200
tests: packages: Set system for expected result of package->bag.
* tests/packages.scm ("package->bag"): Parameterize the expected result by
the
system used to lower the package to a bag.
---
tests/packages.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/packages.scm b/tests/packages.scm
index 2b7ab01f7d..2b4f9f8e90 100644
--- a/tests/packages.scm
+++ b/tests/packages.scm
@@ -1277,8 +1277,9 @@
;; #:guile guile))))
(test-equal "package->bag"
- `("foo86-hurd" #f (,(package-source gnu-make))
- (,(canonical-package glibc)) (,(canonical-package coreutils)))
+ (parameterize ((%current-system "foo86-hurd"))
+ `("foo86-hurd" #f (,(package-source gnu-make))
+ (,(canonical-package glibc)) (,(canonical-package coreutils))))
(let ((bag (package->bag gnu-make "foo86-hurd")))
(list (bag-system bag) (bag-target bag)
(assoc-ref (bag-build-inputs bag) "source")
- branch hurd-team created (now 371f18bc1a), guix-commits, 2023/07/21
- 04/18: gnu: guix: Disable some test on 32bit., guix-commits, 2023/07/21
- 01/18: tests: store-roots: Initial gc-roots should be empty., guix-commits, 2023/07/21
- 03/18: tests: texlive: Remove texlive-texworks from propagated-inputs., guix-commits, 2023/07/21
- 02/18: tests: packages: Set system for expected result of package->bag.,
guix-commits <=
- 05/18: gnu: guix: Disable some tests on the Hurd., guix-commits, 2023/07/21
- 06/18: build: Build gnu/packages/*.go in five steps., guix-commits, 2023/07/21
- 07/18: self: Build gnu/packages/*.go in 26 steps on the Hurd., guix-commits, 2023/07/21
- 12/18: system: hurd: Add procps to %base-packages/hurd., guix-commits, 2023/07/21
- 10/18: hurd: Support system init in /libexec/runsystem., guix-commits, 2023/07/21
- 13/18: system: hurd: Add swap-services to hurd-default-essential-services., guix-commits, 2023/07/21
- 16/18: DRAFT system: examples: Add devel-hurd.tmpl., guix-commits, 2023/07/21
- 08/18: gnu: guix: Update to 1.4.0-8.cc46b5574c., guix-commits, 2023/07/21
- 09/18: gnu: guix: Update to 1.4.0-9.cce7fd74b5., guix-commits, 2023/07/21
- 11/18: hurd-boot: Support system init: Create essential device nodes., guix-commits, 2023/07/21