diff options
author | CJentzsch <jentzsch.software@gmail.com> | 2015-01-15 05:35:33 +0800 |
---|---|---|
committer | CJentzsch <jentzsch.software@gmail.com> | 2015-01-15 05:35:33 +0800 |
commit | 4250af041de66af5ff5e314f39288c6615e71f25 (patch) | |
tree | 77c35bae859d80bd76db8d12b4b453e24ccee861 /vm.cpp | |
parent | f8f1ec30f4b2fdb3215544276474ba92b71cffec (diff) | |
download | dexon-solidity-4250af041de66af5ff5e314f39288c6615e71f25.tar.gz dexon-solidity-4250af041de66af5ff5e314f39288c6615e71f25.tar.zst dexon-solidity-4250af041de66af5ff5e314f39288c6615e71f25.zip |
included vmInpulLimit Tests, updated vmSystemOperationTests
Diffstat (limited to 'vm.cpp')
-rw-r--r-- | vm.cpp | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -508,23 +508,28 @@ BOOST_AUTO_TEST_CASE(vmLogTest) dev::test::executeTests("vmLogTest", "/VMTests", dev::test::doVMTests); } -BOOST_AUTO_TEST_CASE(vmPerformanceTest) +BOOST_AUTO_TEST_CASE(vmSystemOperationsTest) +{ + dev::test::executeTests("vmSystemOperationsTest", "/VMTests", dev::test::doVMTests); +} + +BOOST_AUTO_TEST_CASE(vmInputLimitsTest1) { for (int i = 1; i < boost::unit_test::framework::master_test_suite().argc; ++i) { string arg = boost::unit_test::framework::master_test_suite().argv[i]; - if (arg == "--performance") - dev::test::executeTests("vmPerformanceTest", "/VMTests", dev::test::doVMTests); + if (arg == "--inputlimits") + dev::test::executeTests("vmInputLimitsTest1", "/VMTests", dev::test::doVMTests); } } -BOOST_AUTO_TEST_CASE(vmArithPerformanceTest) +BOOST_AUTO_TEST_CASE(vmInputLimitsTest2) { for (int i = 1; i < boost::unit_test::framework::master_test_suite().argc; ++i) { string arg = boost::unit_test::framework::master_test_suite().argv[i]; - if (arg == "--performance") - dev::test::executeTests("vmArithPerformanceTest", "/VMTests", dev::test::doVMTests); + if (arg == "--inputlimits") + dev::test::executeTests("vmInputLimitsTest2", "/VMTests", dev::test::doVMTests); } } |