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

@@ -9,6 +9,8 @@ DEFS=-DNOPCH
DEFS += $(addprefix -I,$(CURDIR) $(CURDIR)/obj $(BOOST_INCLUDE_PATH) $(BDB_INCLUDE_PATH) $(OPENSSL_INCLUDE_PATH))
LIBS = $(addprefix -L,$(BOOST_LIB_PATH) $(BDB_LIB_PATH) $(OPENSSL_LIB_PATH))
TESTDEFS = -DTEST_DATA_DIR=$(abspath test/data)
LMODE = dynamic
LMODE2 = dynamic
ifdef STATIC