'test' make target running all tests added
This commit is contained in:
parent
c818c6316c
commit
f5b2fa04f0
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue