1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

ts: count skipped tests via SkipTestException

- apply tag 'skip_other'
This commit is contained in:
Alexander Alekhin
2019-11-26 14:01:18 +03:00
parent 16ad53f354
commit 5639f5a296
7 changed files with 64 additions and 21 deletions
+5 -5
View File
@@ -2003,16 +2003,16 @@ void TestBase::RunPerfTestBody()
implConf.GetImpl();
#endif
}
catch(const SkipTestException&)
{
metrics.terminationReason = performance_metrics::TERM_SKIP_TEST;
throw;
}
catch(const PerfSkipTestException&)
{
metrics.terminationReason = performance_metrics::TERM_SKIP_TEST;
return;
}
catch(const cvtest::details::SkipTestExceptionBase&)
{
metrics.terminationReason = performance_metrics::TERM_SKIP_TEST;
throw;
}
catch(const PerfEarlyExitException&)
{
metrics.terminationReason = performance_metrics::TERM_INTERRUPT;