Enable the Makefile to run tests

This commit is contained in:
Christopher Baines 2024-12-29 10:45:41 +00:00
parent 7e55db0de7
commit 6119ece5cb
4 changed files with 33 additions and 0 deletions

View file

@ -11,7 +11,23 @@ SOURCES = \
knots/web-server.scm \
knots/worker-threads.scm
SCM_TESTS = \
tests/non-blocking.scm \
tests/promise.scm \
tests/timeout.scm \
tests/non-blocking.scm \
tests/queue.scm \
tests/web-server.scm \
tests/parallelism.scm \
tests/resource-pool.scm \
tests/worker-threads.scm
TESTS_GOBJECTS = $(SCM_TESTS:%.scm=%.go)
EXTRA_DIST = \
README \
bootstrap \
pre-inst-env.in
check: $(GOBJECTS) $(TESTS_GOBJECTS)
find tests -name "*.scm" | xargs -t -L1 ./test-env guile