[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: tests: Run 'tests/offload.scm' only when BUILD_DAEMON_OFFLOAD is
From: |
guix-commits |
Subject: |
01/02: tests: Run 'tests/offload.scm' only when BUILD_DAEMON_OFFLOAD is true. |
Date: |
Fri, 8 Jan 2021 18:16:49 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 069d2bf200d5dd2bda6c15e345001a9191abf733
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Jan 8 12:06:06 2021 +0100
tests: Run 'tests/offload.scm' only when BUILD_DAEMON_OFFLOAD is true.
Fixes:
guix build -e '(@ (gnu packages package-management) guix-minimal)'
* Makefile.am (SCM_TESTS): Move 'tests/offload.scm' within "if
BUILD_DAEMON_OFFLOAD" conditional.
---
Makefile.am | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 51ff9c9..99bdcfa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -462,7 +462,6 @@ SCM_TESTS = \
tests/monads.scm \
tests/nar.scm \
tests/networking.scm \
- tests/offload.scm \
tests/opam.scm \
tests/openpgp.scm \
tests/packages.scm \
@@ -499,6 +498,12 @@ SCM_TESTS = \
tests/uuid.scm \
tests/workers.scm
+if BUILD_DAEMON_OFFLOAD
+SCM_TESTS += tests/offload.scm
+else
+EXTRA_DIST += tests/offload.scm
+endif
+
SH_TESTS = \
tests/guix-build.sh \
tests/guix-build-branch.sh \