diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2021-01-08 12:06:06 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2021-01-09 00:00:49 +0100 |
| commit | 069d2bf200d5dd2bda6c15e345001a9191abf733 (patch) | |
| tree | 1b1b15160690342c6035c374d6c42acac32a04df | |
| parent | ddb51f3e903ed53ce3c3a88e2af107360f2c51ac (diff) | |
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.
| -rw-r--r-- | Makefile.am | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 51ff9c9ec9a..99bdcfa346f 100644 --- a/Makefile.am +++ b/Makefile.am | |||
| @@ -462,7 +462,6 @@ SCM_TESTS = \ | |||
| 462 | tests/monads.scm \ | 462 | tests/monads.scm \ |
| 463 | tests/nar.scm \ | 463 | tests/nar.scm \ |
| 464 | tests/networking.scm \ | 464 | tests/networking.scm \ |
| 465 | tests/offload.scm \ | ||
| 466 | tests/opam.scm \ | 465 | tests/opam.scm \ |
| 467 | tests/openpgp.scm \ | 466 | tests/openpgp.scm \ |
| 468 | tests/packages.scm \ | 467 | tests/packages.scm \ |
| @@ -499,6 +498,12 @@ SCM_TESTS = \ | |||
| 499 | tests/uuid.scm \ | 498 | tests/uuid.scm \ |
| 500 | tests/workers.scm | 499 | tests/workers.scm |
| 501 | 500 | ||
| 501 | if BUILD_DAEMON_OFFLOAD | ||
| 502 | SCM_TESTS += tests/offload.scm | ||
| 503 | else | ||
| 504 | EXTRA_DIST += tests/offload.scm | ||
| 505 | endif | ||
| 506 | |||
| 502 | SH_TESTS = \ | 507 | SH_TESTS = \ |
| 503 | tests/guix-build.sh \ | 508 | tests/guix-build.sh \ |
| 504 | tests/guix-build-branch.sh \ | 509 | tests/guix-build-branch.sh \ |
