|
Boost Users : |
From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2007-01-08 09:49:24
"Rob Caldecott" <robert.caldecott_at_[hidden]> wrote in message
news:loom.20070107T120734-337_at_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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net