diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2012-04-26 11:20:44 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2012-04-26 11:20:44 -0400 |
commit | 9e71a5cd236e0b6639f55f2f6520aaa06eac0523 (patch) | |
tree | dd2cd93d14ce0df5798ab6d539eedc016e768d53 /src/makefile.unix | |
parent | 08e663d7e2fa194efbffef41cffe9626b71acdaa (diff) |
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.unix | 2 |
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 |