aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2008-05-16 00:29:43 +0000
committerRob Austein <sra@hactrn.net>2008-05-16 00:29:43 +0000
commit10c6004df383b32c76876c1c48c575ae9b9b98dd (patch)
tree49c96cee21df22c8aed2947772cef833eefb940a
parenta81c0322bcd368137d746bc8ccf9b60ffae58ee0 (diff)
Run unit tests automatically as part of "make all-tests". This commit
breaks all-tests, as one of the unit tests is failing at the moment for reasons that I'll investigate after dinner.... svn path=/rpkid/Makefile; revision=1780
-rw-r--r--rpkid/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/rpkid/Makefile b/rpkid/Makefile
index 535bb261..a561c44e 100644
--- a/rpkid/Makefile
+++ b/rpkid/Makefile
@@ -34,6 +34,11 @@ relaxng: left-right-protocol-samples/.stamp left-right-schema.rng up-down-schema
xmllint --noout --relaxng left-right-schema.rng left-right-protocol-samples/*.xml
xmllint --noout --relaxng up-down-schema.rng up-down-protocol-samples/*.xml
+unit-tests: all
+ PWD=`pwd`; for i in rpki/*.py; do PYTHONPATH=$$PWD python $$i; done
+
+all-tests:: unit-tests
+
parse-test: all
python xml-parse-test.py