Merge pull request #16743 from alalek:ts_dump_exception_content

pull/16760/head
Alexander Alekhin 5 years ago
commit 969cc3dd95
  1. 4
      modules/ts/include/opencv2/ts/ts_gtest.h

@ -9235,6 +9235,10 @@ class NativeArray {
try { \
GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
} \
catch (const std::exception& e) { \
std::cerr << "Exception message: " << e.what() << std::endl; \
goto GTEST_CONCAT_TOKEN_(gtest_label_testnothrow_, __LINE__); \
} \
catch (...) { \
goto GTEST_CONCAT_TOKEN_(gtest_label_testnothrow_, __LINE__); \
} \

Loading…
Cancel
Save