[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 12:00:00 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 51a2303cf73aa88c083aad8eefedf63a6157431a
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 540ff93f4a), guix-commits, 2023/07/21
- 01/18: tests: store-roots: Initial gc-roots should be empty., guix-commits, 2023/07/21
- 04/18: gnu: guix: Disable some test on 32bit., guix-commits, 2023/07/21
- 03/18: tests: texlive: Remove texlive-texworks from propagated-inputs., guix-commits, 2023/07/21
- 06/18: build: Build gnu/packages/*.go in five steps., guix-commits, 2023/07/21
- 11/18: hurd-boot: Support system init: Create essential device nodes., guix-commits, 2023/07/21
- 05/18: gnu: guix: Disable some tests on the Hurd., guix-commits, 2023/07/21
- 16/18: DRAFT system: examples: Add devel-hurd.tmpl., guix-commits, 2023/07/21
- 02/18: tests: packages: Set system for expected result of package->bag.,
guix-commits <=
- 07/18: self: Build gnu/packages/*.go in 26 steps on the Hurd., guix-commits, 2023/07/21
- 08/18: gnu: guix: Update to 1.4.0-8.5623ab503f., guix-commits, 2023/07/21
- 09/18: gnu: guix: Update to 1.4.0-9.ee343946cc., guix-commits, 2023/07/21
- 10/18: hurd: Support system init in /libexec/runsystem., guix-commits, 2023/07/21
- 12/18: system: hurd: Add procps to %base-packages/hurd., guix-commits, 2023/07/21
- 13/18: system: hurd: Add swap-services to hurd-default-essential-services., guix-commits, 2023/07/21
- 14/18: DRAFT hurd: Support second boot., guix-commits, 2023/07/21
- 15/18: DRAFT hurd-boot: Support second boot., guix-commits, 2023/07/21
- 17/18: gnu: Add libc-locales-for-target and glibc-locales/hurd., guix-commits, 2023/07/21
- 18/18: locale: Set %default-locale-definitions to glibc/hurd on the Hurd., guix-commits, 2023/07/21