summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-12-04 00:50:28 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-12-04 00:50:28 -0500
commit93309efdce72ac5028944d5c1f7b081a7f62b84a (patch)
tree64f95b6a3cd27b2ff9ae96e2ee832f73dea51765 /tests
parent08dc9f2ca2e96476aa51c906c8ba01ca5d033568 (diff)
downloadguix-93309efdce72ac5028944d5c1f7b081a7f62b84a.tar.gz
tests: Fix guix-system.sh test.
The regression was introduce with commit
c7793b82efd3383a9f7adf0dfa82d71ee032e41b ("gnu: raspberry-pi: Add a
bootloader-chain for the Raspberry Pi and os examples.") due to the examples
needing to be built for the aarch64-linux system.

* tests/guix-system.sh: Invoke guix system build with '--system=aarch64-linux'
to build the Raspberry Pi systems.
Diffstat (limited to 'tests')
-rw-r--r--tests/guix-system.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/guix-system.sh b/tests/guix-system.sh
index a59bd9a6b9..16c02e6e4c 100644
--- a/tests/guix-system.sh
+++ b/tests/guix-system.sh
@@ -342,6 +342,10 @@ for example in gnu/system/examples/*.tmpl; do
 	    # 'asus-c201.tmpl' uses 'linux-libre-arm-generic', which is an
 	    # ARM-only package.
             options="--system=armhf-linux";;
+        *raspberry*)
+	    # The Raspberry Pi templates 'linux-libre-arm64-generic', which is
+	    # an ARM-only package.
+            options="--system=aarch64-linux";;
 	*vm-image*)
 	    # The VM image tries to build 'current-guix' as per 'guix pull'.
 	    # Skip it.