Component Testing for C
You can use the Component Testing feature to test C language main functions. To do so, you must rename those functions.
Example
#ifdef ATTOL
int test_main (int argc, char** argv)
#else
int main (int argc, char** argv)
#endif
{
...
}
If you are running an runtime analysis feature on the Component Testing test node, you can also use the -rename command line option to rename the main function name.
See the Instrumentor Line Command Reference section in the Rational Test RealTime Reference Manual.