guile-git has this fragment in its Makefile.am file
SCM_LOG_DRIVER = \ $(top_builddir)/pre-inst-env \ $(GUILE) --no-auto-compile -e main \ $(top_srcdir)/build-aux/test-driver.scm
as you can see, Automake calls a "test-driver.scm" script in the "build-aux" folder
The effect is that you can call
in the project folder and have the unit tests run
In the Makefile.am file produced by guile-hall there's this fragment:
AM_TESTS_ENVIRONMENT = abs_top_srcdir=\"$(abs_top_srcdir)\" SCM_LOG_COMPILER = $(top_builddir)/test-env $(GUILE) AM_SCM_LOG_FLAGS = --no-auto-compile -L \"$(top_srcdir)\"
so there's a SCM_LOG_COMPILER instead of a SCM_LOG_DRIVER
How is that ?
Also what is the test-env file doing, exactly ?
I attempted to create a new guile-hall project myself to see if make check works in such a project too
But because I'm on Ubuntu, GNUtls is missing the guile bindings and the creation of a new project fails