Mercurial > hg > bitcoin
changeset 3513:52c68434dafe draft
Give makefiles 'test' and 'check' targets to compile and run unit tests
author | Gavin Andresen <gavinandresen@gmail.com> |
---|---|
date | Tue, 18 Sep 2012 11:38:19 -0400 |
parents | 68830bfa05b3 |
children | 22cb68e5cabd |
files | src/makefile.mingw src/makefile.osx src/makefile.unix |
diffstat | 3 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/makefile.mingw +++ b/src/makefile.mingw @@ -83,6 +83,9 @@ all: bitcoind.exe +test check: test_bitcoin.exe FORCE + test_bitcoin.exe + obj/%.o: %.cpp $(HEADERS) g++ -c $(CFLAGS) -o $@ $< @@ -102,3 +105,5 @@ -del /Q obj\* -del /Q obj-test\* -del /Q build.h + +FORCE: