mdwsetup.py: Add a command for running tests.
[runlisp] / pysetup.mk
index c828b02..70af80b 100644 (file)
@@ -35,6 +35,8 @@ PYTARGETS             += install
 OPTS-install           += --prefix $(prefix)
 
 PYTARGETS              += check
+CMD-check              ?= test
+$(foreach p,$(PYTHONS),check/$p):: check/%: all/%
 
 ###--------------------------------------------------------------------------
 ### Interfacing `setup.py' to make.