diff --git a/Makefile.am b/Makefile.am index b05f82f13b2..c4906e92f06 100644 --- a/Makefile.am +++ b/Makefile.am @@ -587,8 +587,6 @@ SCM_TESTS = \ tests/inferior.scm \ tests/ipfs.scm \ tests/lint.scm \ - tests/machine/hetzner.scm \ - tests/machine/hetzner/http.scm \ tests/modules.scm \ tests/monads.scm \ tests/nar.scm \ @@ -641,6 +639,14 @@ else EXTRA_DIST += tests/import/go.scm endif +if HAVE_GUILE_SSH +SCM_TESTS += tests/machine/hetzner.scm \ + tests/machine/hetzner/http.scm +else +EXTRA_DIST += tests/machine/hetzner.scm \ + tests/machine/hetzner/http.scm +endif + if BUILD_DAEMON_OFFLOAD SCM_TESTS += tests/offload.scm else