From b4d8d03b86405193e79310231a2d7ce3b636d554 Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Tue, 10 Sep 2013 18:22:47 -0400 Subject: autotools: use an absolute path to test data --- src/test/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test') diff --git a/src/test/Makefile.am b/src/test/Makefile.am index 80571aa295..2995deff0a 100644 --- a/src/test/Makefile.am +++ b/src/test/Makefile.am @@ -10,7 +10,7 @@ bin_PROGRAMS = test_bitcoin TESTS = test_bitcoin -TEST_DATA_DIR=$(top_srcdir)/src/test/data +TEST_DATA_DIR=$(srcdir)/data TEST_DATA_FILES= $(TEST_DATA_DIR)/script_valid.json \ $(TEST_DATA_DIR)/base58_keys_valid.json $(TEST_DATA_DIR)/sig_canonical.json \ @@ -22,7 +22,7 @@ TEST_DATA_FILES= $(TEST_DATA_DIR)/script_valid.json \ # test_bitcoin binary # test_bitcoin_CPPFLAGS = $(AM_CPPFLAGS) $(TESTDEFS) \ - -DTEST_DATA_DIR=$(TEST_DATA_DIR) + -DTEST_DATA_DIR=$(abs_srcdir)/data test_bitcoin_LDADD = $(LIBBITCOIN) $(LIBLEVELDB) $(LIBMEMENV) \ $(BOOST_LIBS) $(BOOST_UNIT_TEST_FRAMEWORK_LIB) test_bitcoin_SOURCES = accounting_tests.cpp alert_tests.cpp \ -- cgit v1.2.3