|
|
@ -694,11 +694,14 @@ void checkIppStatus() |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool skipUnstableTests = false; |
|
|
|
|
|
|
|
|
|
|
|
void parseCustomOptions(int argc, char **argv) |
|
|
|
void parseCustomOptions(int argc, char **argv) |
|
|
|
{ |
|
|
|
{ |
|
|
|
const char * const command_line_keys = |
|
|
|
const char * const command_line_keys = |
|
|
|
"{ ipp test_ipp_check |false |check whether IPP works without failures }" |
|
|
|
"{ ipp test_ipp_check |false |check whether IPP works without failures }" |
|
|
|
"{ test_seed |809564 |seed for random numbers generator }" |
|
|
|
"{ test_seed |809564 |seed for random numbers generator }" |
|
|
|
|
|
|
|
"{ skip_unstable |false |skip unstable tests }" |
|
|
|
"{ h help |false |print help info }"; |
|
|
|
"{ h help |false |print help info }"; |
|
|
|
|
|
|
|
|
|
|
|
cv::CommandLineParser parser(argc, argv, command_line_keys); |
|
|
|
cv::CommandLineParser parser(argc, argv, command_line_keys); |
|
|
@ -717,6 +720,8 @@ void parseCustomOptions(int argc, char **argv) |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
param_seed = parser.get<unsigned int>("test_seed"); |
|
|
|
param_seed = parser.get<unsigned int>("test_seed"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
skipUnstableTests = parser.get<bool>("skip_unstable"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|