From 2c98302ea26f5235761540c20e0c563662ab6083 Mon Sep 17 00:00:00 2001 From: David Pirotte Date: Sat, 22 Oct 2016 22:42:31 -0200 Subject: [PATCH 4/4] Do not check what is not installed. * unit-tests/Makefile.am: Adapting the test suite Makefile.am so it does not run a check neither install the test suite code for modules that are not installed anymore (because they became part of Guile core). --- unit-tests/Makefile.am | 42 +++++++++++++++++++++++++++++++++--------- 1 file changed, 33 insertions(+), 9 deletions(-) diff --git a/unit-tests/Makefile.am b/unit-tests/Makefile.am index b3df899..af7acdc 100644 --- a/unit-tests/Makefile.am +++ b/unit-tests/Makefile.am @@ -25,6 +25,36 @@ #### +TEST_SXML_FILES = \ + sxml.fold.scm \ + sxml.ssax.scm \ + sxml.transform.scm \ + sxml.xpath.scm + +TEST_TEXINFO_FILES = \ + texinfo.scm \ + texinfo.docbook.scm \ + texinfo.serialize.scm \ + text.parse-lalr.scm + +TEST_STATPROF_FILES = \ + statprof.scm + + +if HAVE_GUILE_COMPILE + +TEST_SXML_SOURCES = +TEST_TEXINFO_SOURCES = +TEST_STATPROF_SOURCES = + +else !HAVE_GUILE_COMPILE + +TEST_SXML_SOURCES = $(TEST_SXML_FILES) +TEST_TEXINFO_SOURCES = $(TEST_TEXINFO_FILES) +TEST_STATPROF_SOURCES = $(TEST_STATPROF_FILES) + +endif !HAVE_GUILE_COMPILE + TESTS= \ api.scm \ container.async-queue.scm \ @@ -37,20 +67,14 @@ TESTS= \ md5.scm \ os.process.scm \ search.basic.scm \ - statprof.scm \ + $(TEST_STATPROF_SOURCES) \ scheme.kwargs.scm \ string.completion.scm \ string.transform.scm \ string.wrap.scm \ - sxml.fold.scm \ - sxml.ssax.scm \ - sxml.transform.scm \ - sxml.xpath.scm \ + $(TEST_SXML_SOURCES) \ term.ansi-color.scm \ - texinfo.scm \ - texinfo.docbook.scm \ - texinfo.serialize.scm \ - text.parse-lalr.scm + $(TEST_TEXINFO_SOURCES) TESTS_ENVIRONMENT= \ API_FILE=$(srcdir)/guile-library.api \ -- 2.9.3