Give makefiles 'test' and 'check' targets to compile and run unit tests

This commit is contained in:
Gavin Andresen
2012-09-18 11:38:19 -04:00
parent 085d9c75f4
commit 8f09e4cac4
3 changed files with 11 additions and 0 deletions

View File

@@ -132,6 +132,9 @@ OBJS= \
all: bitcoind
test check: test_bitcoin FORCE
./test_bitcoin
# auto-generated dependencies:
-include obj/*.P
-include obj-test/*.P