From ebf6d65d9270368d1ad8864b06fcf299ac565df6 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Tue, 13 May 2014 16:05:27 +0100 Subject: Move paths so default build dir is cpp-ethereum/build. --- vm.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vm.cpp') diff --git a/vm.cpp b/vm.cpp index af3fd4a3..a7ad8daa 100644 --- a/vm.cpp +++ b/vm.cpp @@ -472,11 +472,11 @@ BOOST_AUTO_TEST_CASE(vm_tests) { cnote << "Populating VM tests..."; json_spirit::mValue v; - string s = asString(contents("../../cpp-ethereum/test/vmtests.json")); + string s = asString(contents("../../../cpp-ethereum/test/vmtests.json")); BOOST_REQUIRE_MESSAGE(s.length() > 0, "Contents of 'vmtests.json' is empty."); json_spirit::read_string(s, v); eth::test::doTests(v, true); - writeFile("../../tests/vmtests.json", asBytes(json_spirit::write_string(v, true))); + writeFile("../../../tests/vmtests.json", asBytes(json_spirit::write_string(v, true))); } catch( std::exception& e) { @@ -488,7 +488,7 @@ BOOST_AUTO_TEST_CASE(vm_tests) { cnote << "Testing VM..."; json_spirit::mValue v; - string s = asString(contents("../../tests/vmtests.json")); + string s = asString(contents("../../../tests/vmtests.json")); BOOST_REQUIRE_MESSAGE(s.length() > 0, "Contents of 'vmtests.json' is empty. Have you cloned the 'tests' repo branch develop?"); json_spirit::read_string(s, v); eth::test::doTests(v, false); -- cgit