projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16368a2
)
Catch SkipTestException in performance tests
author
dkurt
<dmitry.kurtaev+github@gmail.com>
Wed, 21 Jun 2017 18:30:52 +0000
(21:30 +0300)
committer
dkurt
<dmitry.kurtaev+github@gmail.com>
Wed, 21 Jun 2017 18:30:52 +0000
(21:30 +0300)
modules/ts/src/ts_perf.cpp
patch
|
blob
|
history
diff --git
a/modules/ts/src/ts_perf.cpp
b/modules/ts/src/ts_perf.cpp
index
6a41bc9
..
e5a5e31
100644
(file)
--- a/
modules/ts/src/ts_perf.cpp
+++ b/
modules/ts/src/ts_perf.cpp
@@
-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;