aboutsummaryrefslogtreecommitdiff
path: root/src/test/script_tests.cpp
diff options
context:
space:
mode:
authorLuke Dashjr <[email protected]>2013-09-10 23:04:45 +0000
committerLuke Dashjr <[email protected]>2013-09-10 23:04:56 +0000
commit1e9d3b1392b604fafc6802e4d43469f519d14424 (patch)
tree080d4cbc834eb27bbe87435959700020cde9705b /src/test/script_tests.cpp
parentconfigure: Prefer specific known-good versions of Qt metacompiler tools (diff)
downloaddiscoin-1e9d3b1392b604fafc6802e4d43469f519d14424.tar.xz
discoin-1e9d3b1392b604fafc6802e4d43469f519d14424.zip
Bugfix: Since test_bitcoin is being built and run inside src/test/, try using relative directories from that point
Diffstat (limited to 'src/test/script_tests.cpp')
-rw-r--r--src/test/script_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/script_tests.cpp b/src/test/script_tests.cpp
index c1f6f178d..423a2ff18 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))