Skip to content

Commit e74fed5

Browse files
committed
Catch SkipTestException in performance tests
1 parent 16368a2 commit e74fed5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/ts/src/ts_perf.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1958,6 +1958,11 @@ void TestBase::RunPerfTestBody()
19581958
implConf.GetImpl();
19591959
#endif
19601960
}
1961+
catch(SkipTestException&)
1962+
{
1963+
metrics.terminationReason = performance_metrics::TERM_SKIP_TEST;
1964+
return;
1965+
}
19611966
catch(PerfSkipTestException&)
19621967
{
19631968
metrics.terminationReason = performance_metrics::TERM_SKIP_TEST;

0 commit comments

Comments
 (0)