for apples-to-apples, add try/catch to time_boost functions, use syntax_option_type::optimize for dynamic xpressive

[SVN r31024]
This commit is contained in:
Eric Niebler
2005-09-18 16:31:56 +00:00
parent badb291912
commit ae36194500
3 changed files with 99 additions and 81 deletions

View File

@ -84,7 +84,7 @@ int handle_argument(const std::string& what)
time_pcre = true;
#endif
#ifdef BOOST_HAS_XPRESSIVE
else if(what == "-xpressive")
else if(what == "-xpressive" || what == "-dxpr")
time_xpressive = true;
#endif
else if(what == "-all")
@ -160,6 +160,9 @@ int show_usage()
#endif
#ifdef BOOST_HAS_PCRE
" -pcre Apply tests to PCRE library\n"
#endif
#ifdef BOOST_HAS_XPRESSIVE
" -dxpr Apply tests to dynamic xpressive library\n"
#endif
" -all Apply tests to all libraries\n\n"
" test options:\n"