[Boost-bugs] [Boost C++ Libraries] #11888: boost.test throws an exception when passed a custom command line parameter

Subject: [Boost-bugs] [Boost C++ Libraries] #11888: boost.test throws an exception when passed a custom command line parameter
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-01-06 11:21:08


#11888: boost.test throws an exception when passed a custom command line parameter
----------------------------------------------+-------------------------
 Reporter: James Whitworth <fun4jimmy@…> | Owner: rogeeff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: test
  Version: Boost 1.59.0 | Severity: Showstopper
 Keywords: test;runtime_config;commandline; |
----------------------------------------------+-------------------------
 At work we have lots of custom command line arguments for our tests and
 the upgrade from 1.58.0 to 1.59.0 no longer works. When running the
 executable our flags set ("--use_timeouts" in this case)
 runtime_config::init incorrectly throws a unrecognized_param exception
 from within locate_parameter when parsing our custom option. It looks like
 it is trying to find a likely typo but there are none as it's not anything
 to do with the built in arguments.

 The runtime_config.html documentation states "The rest of command line is
 forwarded to the test module initialization function supplied by you.".

 This stops us upgrading to versions greater than 1.59 which in turn means
 we cannot currently upgrade to Visual Studio 2015.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11888>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:19 UTC