aboutsummaryrefslogtreecommitdiff
path: root/src/makefile.osx
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.osx
parent08e663d7e2fa194efbffef41cffe9626b71acdaa (diff)
Define TEST_DATA_DIR so unit tests can be run from any current working directory
Diffstat (limited to 'src/makefile.osx')
-rw-r--r--src/makefile.osx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/makefile.osx b/src/makefile.osx
index aaac6700bd..be95aab446 100644
--- a/src/makefile.osx
+++ b/src/makefile.osx
@@ -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 += \