From 530b19f6c6c0dad2ea8661fdd29e4d1d2e6781a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Fri, 10 Apr 2015 14:47:43 +0200 Subject: [PATCH] Change instruction scheduler Try different instruction scheduler in LLVM, other crashes sometimes. Also parse command line options properly for random tests. --- state.cpp | 2 ++ vm.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/state.cpp b/state.cpp index 813c3b4d7..65f333538 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 d92989133..4728b8a53 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";