mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 06:26:29 +08:00
Catch SkipTestException in performance tests
This commit is contained in:
parent
16368a275b
commit
e74fed5c84
@ -1958,6 +1958,11 @@ void TestBase::RunPerfTestBody()
|
||||
implConf.GetImpl();
|
||||
#endif
|
||||
}
|
||||
catch(SkipTestException&)
|
||||
{
|
||||
metrics.terminationReason = performance_metrics::TERM_SKIP_TEST;
|
||||
return;
|
||||
}
|
||||
catch(PerfSkipTestException&)
|
||||
{
|
||||
metrics.terminationReason = performance_metrics::TERM_SKIP_TEST;
|
||||
|
Loading…
Reference in New Issue
Block a user