From 9e71a5cd236e0b6639f55f2f6520aaa06eac0523 Mon Sep 17 00:00:00 2001 From: Gavin Andresen Date: Thu, 26 Apr 2012 11:20:44 -0400 Subject: Define TEST_DATA_DIR so unit tests can be run from any current working directory --- src/makefile.osx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/makefile.osx') 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 += \ -- cgit v1.2.3