aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--state.cpp2
-rw-r--r--vm.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/state.cpp b/state.cpp
index 813c3b4d..65f33353 100644
--- a/state.cpp
+++ b/state.cpp
@@ -218,6 +218,8 @@ BOOST_AUTO_TEST_CASE(stCreateTest)
BOOST_AUTO_TEST_CASE(stRandom)
{
+ test::Options::get(); // parse command line options, e.g. to enable JIT
+
string testPath = dev::test::getTestPath();
testPath += "/StateTests/RandomTests";
diff --git a/vm.cpp b/vm.cpp
index d9298913..4728b8a5 100644
--- a/vm.cpp
+++ b/vm.cpp
@@ -524,6 +524,8 @@ BOOST_AUTO_TEST_CASE(vmInputLimitsLightTest)
BOOST_AUTO_TEST_CASE(vmRandom)
{
+ test::Options::get(); // parse command line options, e.g. to enable JIT
+
string testPath = getTestPath();
testPath += "/VMTests/RandomTests";