Define TEST_DATA_DIR so unit tests can be run from any current working directory
[novacoin.git] / src / makefile.osx
index aaac670..be95aab 100644 (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 += \