@@ -76,10 +76,13 @@ int configure_logging(int argc, char* argv[])
7676 Test_config::get_singleton (); // Touching it just below.
7777
7878 po::options_description cmd_line_opts (" unit test options" );
79+ const string HELP_PARAM = " help" ;
7980 cmd_line_opts.add_options ()
80- ((Test_config::S_HELP_PARAM + " ,h" ).c_str (), " help" )
81- ((Test_config::S_LOG_SEVERITY_PARAM + " ,l" ).c_str (), po::value<flow::log::Sev>(&Test_config::get_singleton ().m_sev ),
82- " minimum log severity" );
81+ ((HELP_PARAM + " ,h" ).c_str (), " help" )
82+ (" min-log-severity,l" , po::value<flow::log::Sev>(&Test_config::get_singleton ().m_sev ),
83+ " minimum log severity" )
84+ (" do-not-fail-benchmarks" , po::bool_switch (&Test_config::get_singleton ().m_do_not_fail_benchmarks ),
85+ " sensitive (not necessarily all) benchmarks may be performed but won't cause failure." );
8386
8487 try
8588 {
@@ -88,7 +91,7 @@ int configure_logging(int argc, char* argv[])
8891 po::store (cmd_line_parsed_opts, vm);
8992 po::notify (vm);
9093
91- if (vm.count (Test_config::S_HELP_PARAM ) > 0 )
94+ if (vm.count (HELP_PARAM ) > 0 )
9295 {
9396 cout << cmd_line_opts << " \n " ;
9497 return 1 ;
0 commit comments