Run RTRT test from command line

2.8k Views Asked by At

We are using IBM Rational Test RealTime for unit testing of ANSI-C code. It's my job to tell a Jenkins server to run those tests automatically.

Documentation suggests what command line should be used:

studio -r <node>.{[.<node>]} <project_file> [-html <directory>]

Unfortunately running studio -r with any more parameter does not output anything to the console. If it does not do the intended unit testing job, it terminates immediately and gives no error message whatsoever. This is frustrating. The error class can be deduced from the exit code, but that is not really enough for troubleshooting.

Any idea where to find error output? I can not find any log file.

The detailed command line syntax is described here, but this claims, what apparently is not true:

All messages are sent to the standard error output device.

If it runs successfully missing console output can be tollerated, but if it fails to run the test, I really, really would like to see the stuff that is normally output into the RTRT main window. Note: a unit test that fails e.g. on an assertion is counted as "successful" test run in this context.

0

There are 0 best solutions below