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

Technote (troubleshooting)


Problem(Abstract)

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

Symptom

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.

Cause

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

Add comments

Document information


More support for:

Rational Test RealTime
Component Testing: C++

Software version:

8.0, 8.0.0.1, 8.0.0.2, 8.0.0.3

Operating system(s):

Windows

Reference #:

1636303

Modified date:

2013-05-03

Translate my page

Machine Translation

Content navigation