Define TEST_DATA_DIR so unit tests can be run from any current working directory

This commit is contained in:
Gavin Andresen
2012-04-26 11:20:44 -04:00
parent 08e663d7e2
commit 9e71a5cd23
5 changed files with 26 additions and 17 deletions

View File

@@ -22,6 +22,9 @@ LIBPATHS= \
USE_UPNP:=1
LIBS= -dead_strip
TESTDEFS = -DTEST_DATA_DIR=$(abspath test/data)
ifdef STATIC
# Build STATIC if you are redistributing the bitcoind binary
TESTLIBS += \