
8 Jan
2007
8 Jan
'07
2:49 p.m.
"Rob Caldecott" <robert.caldecott@gmail.com> wrote in message news:loom.20070107T120734-337@post.gmane.org...
Peter <pjfoley <at> bigpond.com> writes:
is it possible to access argc and argv?
I had the same problem. You can use boost::unit_test::auto_unit_test_suite()->argc and boost::unit_test::auto_unit_test_suite()->argv.
Correct interface in 1.34.0 is: boost::unit_test::master_test_suite()->argc and boost::unit_test::master_test_suite()->argv. In a future this interface may be revisited though. See Boost.Test examples also. Genandiy