[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/27: guix system: Do not use 'vm-image.tmpl' in tests.
From: |
guix-commits |
Subject: |
06/27: guix system: Do not use 'vm-image.tmpl' in tests. |
Date: |
Sun, 4 Sep 2022 17:20:31 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit f1bbb06dad36c6262afac908c45038e5a3da7b16
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sun Sep 4 19:20:14 2022 +0200
guix system: Do not use 'vm-image.tmpl' in tests.
This is a followup to 95a03aa5c507d48e2cde19ea007b8f90a4e0108a. Since
that commit, merely evaluating 'vm-image.tmpl' would trigger the build
of 'current-guix' so skip it.
* tests/guix-system.sh: Do not try to build 'vm-image.tmpl'.
---
tests/guix-system.sh | 29 ++++++++++++++++++-----------
1 file changed, 18 insertions(+), 11 deletions(-)
diff --git a/tests/guix-system.sh b/tests/guix-system.sh
index 044fd131d6..f76a5ce119 100644
--- a/tests/guix-system.sh
+++ b/tests/guix-system.sh
@@ -335,22 +335,29 @@ rm "$tmpdir/search"
# Verify that the examples can be built.
for example in gnu/system/examples/*.tmpl; do
- if echo "$example" | grep hurd; then
- options="--target=i586-pc-gnu"
- elif echo "$example" | grep asus; then
- # 'asus-c201.tmpl' uses 'linux-libre-arm-generic', which is an
- # ARM-only package.
- options="--system=armhf-linux"
- else
- options=""
- fi
+ case "$example" in
+ *hurd*)
+ options="--target=i586-pc-gnu";;
+ *asus*)
+ # 'asus-c201.tmpl' uses 'linux-libre-arm-generic', which is an
+ # ARM-only package.
+ options="--system=armhf-linux";;
+ *vm-image*)
+ # The VM image tries to build 'current-guix' as per 'guix pull'.
+ # Skip it.
+ continue
+ ;;
+ *)
+ options=""
+ ;;
+ esac
guix system -n disk-image $options "$example"
done
# Verify that the images can be built.
-guix system -n vm gnu/system/examples/vm-image.tmpl
+guix system -n vm gnu/system/examples/bare-bones.tmpl
guix system -n image gnu/system/images/pinebook-pro.scm
-guix system -n image -t qcow2 gnu/system/examples/vm-image.tmpl
+guix system -n image -t qcow2 gnu/system/examples/bare-bones.tmpl
guix system -n image -t iso9660 gnu/system/examples/bare-bones.tmpl
guix system -n docker-image gnu/system/examples/docker-image.tmpl
- 05/27: guix describe: Adjust test to latest changes., (continued)
- 05/27: guix describe: Adjust test to latest changes., guix-commits, 2022/09/04
- 12/27: gnu: chez-scheme: Fix use of "/bin/sh"., guix-commits, 2022/09/04
- 13/27: gnu: Add Zuo., guix-commits, 2022/09/04
- 16/27: gnu: chez-scheme-for-racket: Support cross-compilation., guix-commits, 2022/09/04
- 14/27: gnu: racket: Update to 8.6., guix-commits, 2022/09/04
- 21/27: gnu: hashcat: Don't embed timestamp, fixing reproducibility., guix-commits, 2022/09/04
- 20/27: gnu: racket: Use Racket CS on all systems., guix-commits, 2022/09/04
- 25/27: gnu: Add texlive-latex-hyphenat., guix-commits, 2022/09/04
- 02/27: services: upower: Default to a percentage-based policy., guix-commits, 2022/09/04
- 04/27: store: Open daemon connections with SOCK_CLOEXEC., guix-commits, 2022/09/04
- 06/27: guix system: Do not use 'vm-image.tmpl' in tests.,
guix-commits <=
- 07/27: gnu: stex: Update to 1.2.2-2.afa6075., guix-commits, 2022/09/04
- 09/27: etc: teams: Add racket team., guix-commits, 2022/09/04
- 10/27: etc: teams: Add entry for Philip McGrath., guix-commits, 2022/09/04
- 15/27: gnu: chez-scheme: Make bootfiles regular inputs., guix-commits, 2022/09/04
- 17/27: gnu: racket: Support cross-compiling the VM packages., guix-commits, 2022/09/04
- 18/27: gnu: chez-scheme-for-racket: Support all systems., guix-commits, 2022/09/04
- 19/27: gnu: racket-vm-bc: Add workaround for ppc64le., guix-commits, 2022/09/04
- 22/27: gnu: hashcat: Unbundle everything but LZMA-SDK., guix-commits, 2022/09/04
- 24/27: gnu: hashcat: Fix cross-compilation., guix-commits, 2022/09/04
- 23/27: gnu: hashcat: Rewrite with G-exps., guix-commits, 2022/09/04