tests: Conditionally include tests/go.scm.

The Go importer module requires a recent guile-glib; the test should only be
run when such requirement is met.

* Makefile.am (SCM_TESTS)[HAVE_GUILE_LIB]: Add tests/go.scm only if this
condition is met.

Reported-by: Chris Marusich <cmmarusich@gmail.com>
This commit is contained in:
Maxim Cournoyer 2021-05-14 21:12:05 -04:00
parent ce9c5fd6ba
commit 38d337a5b7
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 4 additions and 1 deletions

View File

@ -461,7 +461,6 @@ SCM_TESTS = \
tests/git-authenticate.scm \
tests/glob.scm \
tests/gnu-maintenance.scm \
tests/go.scm \
tests/grafts.scm \
tests/graph.scm \
tests/gremlin.scm \
@ -510,6 +509,10 @@ SCM_TESTS = \
tests/uuid.scm \
tests/workers.scm
if HAVE_GUILE_LIB
SCM_TESTS += tests/go.scm
endif
if BUILD_DAEMON_OFFLOAD
SCM_TESTS += tests/offload.scm
else