21 #define ORO_MEMORY_POOL    33 #define BOOST_TEST_MAIN    34 #define BOOST_TEST_DYN_LINK    35 #include <boost/test/unit_test.hpp>    37 using boost::unit_test::test_suite;
    45     if ( argc > 1 && strncmp(argv[1],
"--help",6) == 0 ) {
    46         cout << 
"This unit test executable takes the following options:" <<
endl<<
endl;
    47         cout << 
"The starred option is the default, available options depend on Boost UTF library version." <<endl<<
endl;
    48         cout << 
"  --build_info[=<yes|no*>]          "<<
endl;
    49         cout << 
"  --catch_system_errors[=<yes*|no>  "<<
endl;
    50         cout << 
"  --detect_memory_leaks[=<yes*|no>  "<<
endl;
    51         cout << 
"  --log_format[=<HRF*|XML>          "<<
endl;
    52         cout << 
"  --log_level[=<all|success|test_suite|message|warning|error*|cpp_exception|system_error|fatal_error|nothing>"<<
endl;
    53         cout << 
"  --result_code[=<yes*|no>          "<<
endl;
    54         cout << 
"  --output_format[=<HRF*|XML>       "<<
endl;
    55         cout << 
"  --random[=<0*|1|>1>               "<<
endl;
    56         cout << 
"  --report_format[=<HRF*|XML>       "<<
endl;
    57         cout << 
"  --report level[=<no|confirm*|short|detailed>"<<
endl;
    58         cout << 
"  --show_progress[=<yes|no*>        "<<endl<<
endl;
    59         cout << 
"  --use_alt_stack[=<yes*|no>        "<<endl<<
endl;
    61         cout << 
"Select tests by using the form:"<<
endl;
    62         cout << 
"  " << argv[0] << 
" --run_test=suite/testX"<<
endl;
    63         cout << 
"Wildcards are accepted:"<<
endl;
    64         cout << 
"  " << argv[0] << 
" --run_test=*/testX"<<
endl;
    69     setenv(
"RTT_COMPONENT_PATH",
"../rtt", 0);
    75         rtMem           = malloc(BUILD_TEST_RT_MEM_POOL_SIZE);  
    78         assert((
size_t)-1 != freeMem); 
    92         log(
Info) << 
"LogLevel unaltered by test-runner." << 
endlog();
   113 #ifndef OROCOS_TARGET_XENOMAI   123 #if BOOST_VERSION >= 106000 boost::unit_test::test_suite * init_unit_test_suite(int argc, char **const argv)
int __os_init(int argc, char **argv)
size_t init_memory_pool(size_t mem_pool_size, void *mem_pool)
static StartStopManager * Instance()
static RTT_CORBA_API bool InitOrb(int argc, char *argv[], Seconds orb_timeout=0)
#define BOOST_GLOBAL_FIXTURE(F)
basic_ostreams & endl(basic_ostreams &s)
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute. 
int setenv(const char *name, const char *value, int overwrite)
static void ShutdownOrb(bool wait_for_completion=true)
void stop()
Call all registered stop functions. 
static Logger::LogFunction endlog()
void setLogLevel(LogLevel ll)