mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Move paths so default build dir is cpp-ethereum/build.
This commit is contained in:
parent
87d48881d8
commit
ebf6d65d92
6
vm.cpp
6
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);
|
||||
|
Loading…
Reference in New Issue
Block a user