From ac43c3bd180c36f8fb08ce7ef405e56a10031c75 Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 17 Jul 2019 08:22:25 +0200 Subject: [PATCH] Construct VM with path. --- test/boostTest.cpp | 2 +- test/tools/isoltest.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/boostTest.cpp b/test/boostTest.cpp index 747b69e15..63231199a 100644 --- a/test/boostTest.cpp +++ b/test/boostTest.cpp @@ -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 ." << endl; diff --git a/test/tools/isoltest.cpp b/test/tools/isoltest.cpp index 26c7a56b9..3ac61ce97 100644 --- a/test/tools/isoltest.cpp +++ b/test/tools/isoltest.cpp @@ -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 ." << endl;