From 583bbbb5a463dfe1e9d8504883b9c53a9a9977b0 Mon Sep 17 00:00:00 2001 From: Alexander Arlt Date: Mon, 15 Jun 2020 07:51:35 -0500 Subject: [PATCH] Fix if --evmonepath was implicitly defined. If an evmone library was found, it was not possible to change the used evm1 vm anymore via --vm. --- test/Common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Common.cpp b/test/Common.cpp index a93f353a7..116354d67 100644 --- a/test/Common.cpp +++ b/test/Common.cpp @@ -141,7 +141,7 @@ bool CommonOptions::parse(int argc, char const* const* argv) throw std::runtime_error(errorMessage.str()); } - if (!evmonePath.empty()) + if (!evmonePath.empty() && vmPaths.empty()) vmPaths.emplace_back(evmonePath); return true;