title: Run RTRT test from command line
body: <p>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.</p>
  
  <p><a href="http://www-01.ibm.com/support/knowledgecenter/SSSHUF_8.0.1/com.ibm.rational.testrt.studio.doc/topics/tclirun.htm?lang=de" rel="nofollow noreferrer">Documentation</a> suggests what command line should be used:</p>
  
  <pre><code>studio -r &lt;node&gt;.{[.&lt;node&gt;]} &lt;project_file&gt; [-html &lt;directory&gt;]
  </code></pre>
  
  <p>Unfortunately running <code>studio -r</code> 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.</p>
  
  <p>Any idea where to find error output? I can not find any log file.</p>
  
  <p>The detailed command line syntax <a href="http://www-01.ibm.com/support/knowledgecenter/SSSHUF_8.0.1/com.ibm.rational.testrt.studio.doc/ref/rstudio.htm?lang=de" rel="nofollow noreferrer">is described here</a>,
  but this claims, what apparently is not true:</p>
  
  <blockquote>
    <p>All messages are sent to the standard error output device.</p>
  </blockquote>
  
  <p>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.</p>