IBM Support

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

Troubleshooting


Problem

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

[{"Product":{"code":"SSSHUF","label":"Rational Test RealTime"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Component Testing: C++","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.0;8.0.0.1;8.0.0.2;8.0.0.3","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21636303