diff --git a/modules/ts/src/ts_perf.cpp b/modules/ts/src/ts_perf.cpp index 6201dff7d3..1a959f176d 100644 --- a/modules/ts/src/ts_perf.cpp +++ b/modules/ts/src/ts_perf.cpp @@ -914,7 +914,7 @@ void TestBase::Init(const std::vector & availableImpls, if (!args.check()) { args.printErrors(); - exit(); + exit(1); } timeLimitDefault = param_time_limit == 0.0 ? 1 : (int64)(param_time_limit * cv::getTickFrequency());