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\StartObjecTest.pl
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

Rate this page:

(0 users)Average rating

Document information

More support for:

Rational Test RealTime
Component Testing: C++

Software version:


Operating system(s):


Reference #:


Modified date:


Translate my page

Machine Translation

Content navigation