]> gitweb.michael.orlitzky.com - sage.d.git/commitdiff
makefile: add a "make check" target to run the tests properly.
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 1 Nov 2018 20:07:01 +0000 (16:07 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 1 Nov 2018 20:07:01 +0000 (16:07 -0400)
We need to utter magic words to get the test suite to work, so I've
encoded them in a "make check" target for future reference.

makefile

index f067891c4465126d769a4c1dc66834f8618e37c5..858d0673cca758611b73b50f6025a05b3d2ccf16 100644 (file)
--- a/makefile
+++ b/makefile
@@ -1,2 +1,6 @@
+SAGE = $(shell which sage)
+
+check:
+       PYTHONPATH="." $(SAGE) -t mjo/
 clean:
        find ./ -type f -name '*.pyc' -delete