Re: [Boost-users] run_test parameter not working (Boost Unit Test Framework)
Hi,
David is right, the issue can be reproduced with the following simple program:
#define BOOST_TEST_MODULE example
#include
example --log_level=test_suite --run_test=testA
Output should be..
Running 1 test case...
Entering test suite "example"
Entering test case "testA"
Test case testA doesn't include any assertions
Leaving test case "testA"
Leaving test suite "example"
*** No errors detected
However, output is always like the following:
Running 7 test cases...
Entering test suite "example"
Entering test case "testA"
Test case testA doesn't include any assertions
Leaving test case "testA"
Entering test case "testB"
Test case testB doesn't include any assertions
Leaving test case "testB"
Entering test suite "s1"
Entering test case "test1"
Test case test1 doesn't include any assertions
Leaving test case "test1"
Entering test case "lest2"
Test case lest2 doesn't include any assertions
Leaving test case "lest2"
Leaving test suite "s1"
Entering test suite "s2"
Entering test case "test1"
Test case test1 doesn't include any assertions
Leaving test case "test1"
Entering test case "test11"
Test case test11 doesn't include any assertions
Leaving test case "test11"
Entering test suite "in"
Entering test case "test"
Test case test doesn't include any assertions
Leaving test case "test"
Leaving test suite "in"
Leaving test suite "s2"
Leaving test suite "example"
*** No errors detected
Thanks
Marc
----- Original Message ----
From: Gennadiy Rozental
on Thu Jul 17 2008, Marc Oliver Castañeda
wrote: Hi,
I've downloaded the 1.35.0 source and built my own boost libraries in Redhat
the intention of using the boost unit test framework. However, I noticed
5.1 with that the run_test
parameter is not working.
parameter to what? e.g., a function? a command-line tool?
he mean command line parameter that is used to specify which test units to run based on their name _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (1)
-
Marc Oliver Castañeda