|
Boost Users : |
Subject: [Boost-users] [Boost] 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-10 01:24:49
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=__________
#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
RBEI/ETA1
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