aboutsummaryrefslogtreecommitdiffstats
path: root/vm.cpp
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-03-04 19:04:15 +0800
committerGav Wood <i@gavwood.com>2015-03-06 19:46:23 +0800
commit298919844b3f6548e200637a0446a4bbd0251b75 (patch)
tree0048f9a34943fd254fd1713b6b354739366ff061 /vm.cpp
parentbdab1475d6bb4af99149fb399a21d1c71cc6cda8 (diff)
downloaddexon-solidity-298919844b3f6548e200637a0446a4bbd0251b75.tar
dexon-solidity-298919844b3f6548e200637a0446a4bbd0251b75.tar.gz
dexon-solidity-298919844b3f6548e200637a0446a4bbd0251b75.tar.bz2
dexon-solidity-298919844b3f6548e200637a0446a4bbd0251b75.tar.lz
dexon-solidity-298919844b3f6548e200637a0446a4bbd0251b75.tar.xz
dexon-solidity-298919844b3f6548e200637a0446a4bbd0251b75.tar.zst
dexon-solidity-298919844b3f6548e200637a0446a4bbd0251b75.zip
blockchain tests
Conflicts: test/block.cpp
Diffstat (limited to 'vm.cpp')
-rw-r--r--vm.cpp54
1 files changed, 27 insertions, 27 deletions
diff --git a/vm.cpp b/vm.cpp
index e78753e6..eb7c174e 100644
--- a/vm.cpp
+++ b/vm.cpp
@@ -533,33 +533,33 @@ BOOST_AUTO_TEST_CASE(vmPerformanceTest)
}
}
-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" || arg == "--all")
- {
- auto start = chrono::steady_clock::now();
-
- dev::test::executeTests("vmInputLimitsTest1", "/VMTests", dev::test::doVMTests);
-
- auto end = chrono::steady_clock::now();
- auto duration(chrono::duration_cast<chrono::milliseconds>(end - start));
- cnote << "test duration: " << duration.count() << " milliseconds.\n";
- }
- }
-}
-
-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" || arg == "--all")
- dev::test::executeTests("vmInputLimitsTest2", "/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 == "--inputlimits" || arg == "--all")
+// {
+// auto start = chrono::steady_clock::now();
+
+// dev::test::executeTests("vmInputLimitsTest1", "/VMTests", dev::test::doVMTests);
+
+// auto end = chrono::steady_clock::now();
+// auto duration(chrono::duration_cast<chrono::milliseconds>(end - start));
+// cnote << "test duration: " << duration.count() << " milliseconds.\n";
+// }
+// }
+//}
+
+//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" || arg == "--all")
+// dev::test::executeTests("vmInputLimitsTest2", "/VMTests", dev::test::doVMTests);
+// }
+//}
BOOST_AUTO_TEST_CASE(vmRandom)
{