From fbe18e80f694e95c838e0fda887010e0aab81f68 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Thu, 9 Nov 2017 19:09:46 +0300 Subject: [PATCH] ts: dump test parameters value --- modules/ts/src/ts_gtest.cpp | 1 + modules/ts/src/ts_perf.cpp | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/modules/ts/src/ts_gtest.cpp b/modules/ts/src/ts_gtest.cpp index 6597d30df4..fc64886eef 100644 --- a/modules/ts/src/ts_gtest.cpp +++ b/modules/ts/src/ts_gtest.cpp @@ -4583,6 +4583,7 @@ void PrettyUnitTestResultPrinter::OnTestCaseStart(const TestCase& test_case) { void PrettyUnitTestResultPrinter::OnTestStart(const TestInfo& test_info) { ColoredPrintf(COLOR_GREEN, "[ RUN ] "); PrintTestName(test_info.test_case_name(), test_info.name()); + PrintFullTestCommentIfPresent(test_info); printf("\n"); fflush(stdout); } diff --git a/modules/ts/src/ts_perf.cpp b/modules/ts/src/ts_perf.cpp index d728e27d88..ac154f741b 100644 --- a/modules/ts/src/ts_perf.cpp +++ b/modules/ts/src/ts_perf.cpp @@ -1893,12 +1893,6 @@ void TestBase::TearDown() } } - const ::testing::TestInfo* const test_info = ::testing::UnitTest::GetInstance()->current_test_info(); - const char* type_param = test_info->type_param(); - const char* value_param = test_info->value_param(); - if (value_param) printf("[ VALUE ] \t%s\n", value_param), fflush(stdout); - if (type_param) printf("[ TYPE ] \t%s\n", type_param), fflush(stdout); - #ifdef CV_COLLECT_IMPL_DATA if(param_collect_impl) {