Construct VM with path.

This commit is contained in:
chriseth 2019-07-17 08:22:25 +02:00
parent 09eeb1a6b9
commit ac43c3bd18
2 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ test_suite* init_unit_test_suite( int /*argc*/, char* /*argv*/[] )
master.p_name.value = "SolidityTests";
dev::test::Options::get().validate();
bool disableIPC = !dev::test::EVMHost::getVM();
bool disableIPC = !dev::test::EVMHost::getVM(dev::test::Options::get().evmonePath.string());
if (disableIPC)
{
cout << "Unable to find libevmone.so. Please provide the path using -- --evmonepath <path>." << endl;

View File

@ -414,7 +414,7 @@ int main(int argc, char const *argv[])
return 1;
}
bool disableSemantics = !dev::test::EVMHost::getVM();
bool disableSemantics = !dev::test::EVMHost::getVM(options.evmonePath.string());
if (disableSemantics)
{
cout << "Unable to find libevmone.so. Please provide the path using --evmonepath <path>." << endl;