mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
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:
parent
ec8d4cd081
commit
530b19f6c6
@ -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
2
vm.cpp
@ -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";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user