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.
This commit is contained in:
Ludovic Courtès 2021-01-08 12:06:06 +01:00
parent ddb51f3e90
commit 069d2bf200
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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 \