11 Sep
2013
11 Sep
'13
4:26 a.m.
Hemanth Choudary M V (RBEI/ETA1
Hi, I would like to run this boost test case using the command line. Please note that the list contains data types that have 2 or more words. I need to know what to pass in the Command Line for –run_test=__________ typedef boost::mpl::list
test_types; BOOST_AUTO_TEST_CASE_TEMPLATE( my_test, T, test_types ) { BOOST_CHECK_EQUAL( sizeof(T), (unsigned)4 ); }
You actually have 2 test cases here. To run one you'll need to do this: test.exe --run_test="my_test<long long>" to run all: test.exe --run_test="my_test*" (tested on windows with latest trunk, but I believe it should work in release version as well). Gennadiy