From 1e9d3b1392b604fafc6802e4d43469f519d14424 Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Tue, 10 Sep 2013 23:04:45 +0000 Subject: Bugfix: Since test_bitcoin is being built and run inside src/test/, try using relative directories from that point --- src/test/script_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/script_tests.cpp') diff --git a/src/test/script_tests.cpp b/src/test/script_tests.cpp index c1f6f178db..423a2ff185 100644 --- a/src/test/script_tests.cpp +++ b/src/test/script_tests.cpp @@ -93,7 +93,7 @@ Array read_json(const std::string& filename) { namespace fs = boost::filesystem; - fs::path testFile = fs::current_path() / "test" / "data" / filename; + fs::path testFile = fs::current_path() / "data" / filename; #ifdef TEST_DATA_DIR if (!fs::exists(testFile)) -- cgit v1.2.3