Boost logo

Boost Testing :

Subject: [Boost-testing] Command Line to run a specific Boost Test Case using BOOST_AUTO_TEST_CASE_TEMPLATE
From: Hemanth Choudary M V (RBEI/ETA1) (HemanthChoudary.MV_at_[hidden])
Date: 2013-09-05 02:35:53


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=__________

#define BOOST_TEST_MODULE example
#include <boost/test/included/unit_test.hpp>
#include <boost/test/test_case_template.hpp>
#include <boost/mpl/list.hpp>


typedef boost::mpl::list<long long,unsigned char> test_types;

BOOST_AUTO_TEST_CASE_TEMPLATE( my_test, T, test_types )
    BOOST_CHECK_EQUAL( sizeof(T), (unsigned)4 );


Mit freundlichen Grüßen / Best Regards,
Hemanth Choudary MV

Picture (Device Independent Bitmap) 1.jpg
Boost-testing list run by mbergal at