aboutsummaryrefslogtreecommitdiff
path: root/src/makefile.unix
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2012-04-26 11:20:44 -0400
committerGavin Andresen <gavinandresen@gmail.com>2012-04-26 11:20:44 -0400
commit9e71a5cd236e0b6639f55f2f6520aaa06eac0523 (patch)
treedd2cd93d14ce0df5798ab6d539eedc016e768d53 /src/makefile.unix
parent08e663d7e2fa194efbffef41cffe9626b71acdaa (diff)
downloadbitcoin-9e71a5cd236e0b6639f55f2f6520aaa06eac0523.tar.xz
Define TEST_DATA_DIR so unit tests can be run from any current working directory
Diffstat (limited to 'src/makefile.unix')
-rw-r--r--src/makefile.unix2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/makefile.unix b/src/makefile.unix
index fc901ca02c..146f6b8ebc 100644
--- a/src/makefile.unix
+++ b/src/makefile.unix
@@ -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