Add ability to detect GNU/Hurd when configuring. Adapted from https://git.hadrons.org/cgit/debian/pkgs/pciutils.git/tree/debian/patches/00-configure-hurd.patch From e39a3af22501234a91cf28e8c57b45f9379f9101 Mon Sep 17 00:00:00 2001 From: Damien Zammit Date: Fri, 26 Oct 2018 09:24:04 -0400 Subject: [PATCH 2/2] Add ability to detect GNU/Hurd when configuring --- lib/configure | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- a/lib/configure +++ b/lib/configure @@ -25,7 +25,7 @@ if [ -z "$HOST" ] ; then proc=`/usr/sbin/lsdev -C -c processor -S available -F name | head -1` cpu=`/usr/sbin/lsattr -F value -l $proc -a type | sed 's/_.*//'` else - cpu=`uname -m | sed 's/^i.86$/i386/;s/^sun4u$/sparc64/;s/^i86pc$/i386/;s/^BePC$/i386/;s/^BeMac$/powerpc/;s/^BeBox$/powerpc/'` + cpu=`uname -m | sed 's/^i.86-AT386/i386/;s/^i.86$/i386/;s/^sun4u$/sparc64/;s/^i86pc$/i386/;s/^BePC$/i386/;s/^BeMac$/powerpc/;s/^BeBox$/powerpc/'` fi if [ "$sys" = "DragonFly" ] then @@ -39,6 +39,10 @@ if [ -z "$HOST" ] ; then then sys=cygwin fi + if [ "$sys" = "GNU" ] + then + sys=gnu + fi HOST=${3:-$cpu-$sys} fi [ -n "$RELEASE" ] && rel="${RELEASE}" ests.scm'>logtreecommitdiff
path: root/etc/system-tests.scm
AgeCommit message (Expand)Author
2020-03-23tests: Use the same source as ci.guix.gnu.org....* etc/system-tests.scm (system-test-manifest): In 'local-file' call, use a name that is a function of COMMIT to match what Cuirass does. Ludovic Courtès
2020-03-05tests: Add a manifest for system tests....The manifest can be passed to 'guix build -m', 'guix weather -m', and so on. It can also be passed to an installed 'guix' (without ./pre-inst-env), with the exception so far of installation tests. * build-aux/run-system-tests.scm: Remove. Move interesting bits move to... * etc/system-tests.scm: ... here. New file. * Makefile.am (EXTRA_DIST): Remove 'build-aux/run-system-tests.scm' and add 'etc/system-tests.scm'. (check-system): Rewrite to run 'guix build -m etc/system-tests.scm'. Ludovic Courtès