'test' make target running all tests added

This commit is contained in:
jaortega 2008-01-26 18:13:53 +00:00
parent c818c6316c
commit f5b2fa04f0
1 changed files with 7 additions and 0 deletions

View File

@ -169,6 +169,13 @@ CONFIG_FILES = scheme/interfaces.scm scheme/low-packages.scm \
# default target.
enough: $(VM) $(IMAGE) go scsh $(LIBSCSH) $(LIBSCSHVM)
# Run unit tests
test: enough
@echo "Running test suite..."
@(($(srcdir)/go -lm $(srcdir)/scsh/test/test-packages.scm \
-o test-all -c "(test-all)" | grep -v 'OK$$') \
|| (echo "All tests passed"))
# --------------------
# External code to include in the VM
# After changing any of these you should delete `scheme48vm' and remake it.