From 38d337a5b749713b34568ee55ad747522f26ef94 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Fri, 14 May 2021 21:12:05 -0400 Subject: 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 --- Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 4cbef5a6e6..e688e21498 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 -- cgit 1.4.1