diff options
author | CJentzsch <jentzsch.software@gmail.com> | 2015-02-25 05:35:40 +0800 |
---|---|---|
committer | CJentzsch <jentzsch.software@gmail.com> | 2015-02-25 21:18:55 +0800 |
commit | aa1ec0cb72c826b108e77bf5f3aebd1611f4d185 (patch) | |
tree | 1baa0c76a2a39e4e7246f598cfc66df84fa516b3 /vm.cpp | |
parent | 296e917a6a177ce27f832936887fb154a787e6b9 (diff) | |
download | dexon-solidity-aa1ec0cb72c826b108e77bf5f3aebd1611f4d185.tar dexon-solidity-aa1ec0cb72c826b108e77bf5f3aebd1611f4d185.tar.gz dexon-solidity-aa1ec0cb72c826b108e77bf5f3aebd1611f4d185.tar.bz2 dexon-solidity-aa1ec0cb72c826b108e77bf5f3aebd1611f4d185.tar.lz dexon-solidity-aa1ec0cb72c826b108e77bf5f3aebd1611f4d185.tar.xz dexon-solidity-aa1ec0cb72c826b108e77bf5f3aebd1611f4d185.tar.zst dexon-solidity-aa1ec0cb72c826b108e77bf5f3aebd1611f4d185.zip |
add --all flag for time consuming tests
Diffstat (limited to 'vm.cpp')
-rw-r--r-- | vm.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -518,7 +518,7 @@ BOOST_AUTO_TEST_CASE(vmPerformanceTest) 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") + if (arg == "--performance" || arg == "--all") { auto start = chrono::steady_clock::now(); @@ -536,7 +536,7 @@ 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 == "--inputlimits") + if (arg == "--inputlimits" || arg == "--all") { auto start = chrono::steady_clock::now(); @@ -554,7 +554,7 @@ 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 == "--inputlimits") + if (arg == "--inputlimits" || arg == "--all") dev::test::executeTests("vmInputLimitsTest2", "/VMTests", dev::test::doVMTests); } } |