Change instruction scheduler

Try different instruction scheduler in LLVM, other crashes sometimes.
Also parse command line options properly for random tests.
This commit is contained in:
Paweł Bylica 2015-04-10 14:47:43 +02:00
parent ec8d4cd081
commit 530b19f6c6
2 changed files with 4 additions and 0 deletions

View File

@ -218,6 +218,8 @@ BOOST_AUTO_TEST_CASE(stCreateTest)
BOOST_AUTO_TEST_CASE(stRandom) BOOST_AUTO_TEST_CASE(stRandom)
{ {
test::Options::get(); // parse command line options, e.g. to enable JIT
string testPath = dev::test::getTestPath(); string testPath = dev::test::getTestPath();
testPath += "/StateTests/RandomTests"; testPath += "/StateTests/RandomTests";

2
vm.cpp
View File

@ -524,6 +524,8 @@ BOOST_AUTO_TEST_CASE(vmInputLimitsLightTest)
BOOST_AUTO_TEST_CASE(vmRandom) BOOST_AUTO_TEST_CASE(vmRandom)
{ {
test::Options::get(); // parse command line options, e.g. to enable JIT
string testPath = getTestPath(); string testPath = getTestPath();
testPath += "/VMTests/RandomTests"; testPath += "/VMTests/RandomTests";