From a5a4d36fd111e88f3d7a6f39efdc0bac3a26bb96 Mon Sep 17 00:00:00 2001 From: CJentzsch Date: Tue, 24 Feb 2015 22:35:40 +0100 Subject: [PATCH] add --all flag for time consuming tests --- test/vm.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/vm.cpp b/test/vm.cpp index 66925f929..21bea0650 100644 --- a/test/vm.cpp +++ b/test/vm.cpp @@ -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); } }