IBM Support What's New?

Test script generator atostart fails with message "catastrophic error #5"

Technote (troubleshooting)


Attempts de generate C++ test script generator of IBM Rational test RealTime result in catastrophic error #5.


You see the following error.

script C:\Program Files\IBM\TestRealTime\lib\scripts\
Test Script generation ...
C:\PROGRA~1\IBM\TESTRE~1\bin\intel\win32\atostart "C:\Program Files\IBM\TestRealTime\examples\Shape\src\main.cpp" -opp atl.opp -hpp atl.hpp -include=relative  -test_private_methods -overwrite -otd "C:\Program Files\IBM\TestRealTime\examples\Shape\Test.otd" -test_class_prefix "Test" -otc "C:\Program Files\IBM\TestRealTime\examples\Shape\Test.otc" -studio_log "C:/Program Files/IBM/TestRealTime/examples/Shape\intermediates_files420903828.log"
atostart - info: #for: analyzing...
catastrophic error #5: could not open source file "#for"

Generation failed.


Two lines in the Target Deployment Port (TDP) cause this error to the attolstart analyzer.

Resolving the problem

Remove these two lines. Here are the instructions.

  1. Open your xdp file with the TDP editor

  2. Remove the following lines in Parser Settings > Analyser file configuration.

    #for 64 bits
    #--targ_size_t_int_kind 10

  3. Make a Save & Generate

Document information

More support for: Rational Test RealTime
Component Testing: C++

Software version: 8.0,,,

Operating system(s): Windows

Reference #: 1636303

Modified date: 2013-05-03