IBM Support

Pointer-to-pointer parameter of a function is not correctly declared in PTU test script

Troubleshooting


Problem

When you perform component testing for C to the function with a pointer-to-pointer parameter using IBM Rational Test RealTime, the C source code parser - attolstartC declares the pointer-to-pointer parameter incorrectly in the generated PTU test script.

Symptom

For example with the function below,

int add (int a, int **b)

{

      ......

}

the declaration part in the PTU looks like

**********************************************************

     -- Tested service parameters declarations

     #int a;

     #int b;

     -- By function returned type declaration

     #int ret_add;


**********************************************************

where declaration of "#int b" is incorrect.

[{"Product":{"code":"SSSHUF","label":"Rational Test RealTime"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Component Testing: C","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.5;7.5.0.1;7.5.0.2;7.5.0.3;7.5.0.4","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
16 June 2018

UID

swg21462085