Hi! Am Montag, 13. November 2017, 22:07:09 CET schrieb Peter Dimov via Boost:
Stefan Seefeld wrote:
But using boost::test I don't have direct access to argv, or do I ? I don't get to write my own main() function...
http://www.boost.org/doc/libs/1_65_1/libs/test/doc/html/boost_test/tests_org anization/test_suite.html http://www.boost.org/doc/libs/1_65_1/libs/test/doc/html/boost_test/tests_or ganization/test_suite/master_test_suite.html
It is quite hidden in the latter link: http://www.boost.org/doc/libs/1_65_1/libs/test/doc/html/boost_test/ tests_organization/test_suite/ master_test_suite.html#boost_test.tests_organization.test_suite.master_test_suite.command_line_arguments_access_in boost::unit_test::framework::master_test_suite().argc boost::unit_test::framework::master_test_suite().argv Yours, Jürgen -- * Dipl.-Math. Jürgen Hunold ! * voice: ++49 4257 300 ! Fährstraße 1 * fax : ++49 4257 300 ! 31609 Balge/Sebbenhausen * jhunold@gmx.eu ! Germany