aboutsummaryrefslogtreecommitdiffstats
path: root/vm.cpp
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-01-15 05:35:33 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-01-15 05:35:33 +0800
commit4250af041de66af5ff5e314f39288c6615e71f25 (patch)
tree77c35bae859d80bd76db8d12b4b453e24ccee861 /vm.cpp
parentf8f1ec30f4b2fdb3215544276474ba92b71cffec (diff)
downloaddexon-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.cpp17
1 files changed, 11 insertions, 6 deletions
diff --git a/vm.cpp b/vm.cpp
index 7afd9de1..f15dc048 100644
--- a/vm.cpp
+++ b/vm.cpp
@@ -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);
}
}