Fixed problems Release Notes

© Copyright International Business Machines Corporation 2015. All rights reserved. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

1. Test Case (Rational Test RealTime for Eclipse IDE) 2. C/C++ Instrumentor (Legacy) 3. TDP Runtime 4. Component Testing for C (Legacy) 5. Binary (Legacy) 6. Component Testing (Rational Test RealTime for Eclipse IDE)

DEFECT ID 42376

When a tested function returns a pointer value (for example : FOO_TYPE *foo()), the generated variable, in the test case to test the function result, is always generated as a pointer type even if the preference 'Instantiate variable as pointed type' is checked.
Workaround: No known workaround.

DEFECT ID 52780

The C/C++ instrumentor -EXCALL option does not work when the EOL format of the txt file is inconsistent with the host operating system.
Workaround: Rewrite the file from the host machine running the tool to get the appropriate EOL format.

APAR #PI39022 (DEFECT ID 52767)

Intrumented file fails to compile on 64 bits targets with the following error : Error ::_AttClassField*' to `unsigned int' loses precision.  
Workaround: In TDP library file "att.h", replace return ((RTRT_U_INT32)this) ^ (a); } \ by return _ATT_THIS(a); } \ in 3 macros : _ATT_DEFINE_CLASS_FIELD, _ATT_DEFINE_CLASS_FIELD_TMPL, _ATT_DEFINE_CLASS_FIELD_TMPL_CODE.

DEFECT ID 52370

When a TEST is made of multiple ELEMENTs, only the coverage rate for the first PTU ELEMENT is shown in the test report.
Workaround: Create a TEST block for each ELEMENT.

DEFECT ID 50983

When there are multiple services with the same name in a PTU, only the last service will be shown in the test report.
Workaround: Avoid duplicated service names in a PTU.

DEFECT ID 49978

attolcc4 does not instrument properly a struct with method, even if it is part of a union.
Workaround: Use attolccp instead of attolcc4.

APAR #PI27688 (DEFECT ID 49965)

atostart option -restrict_dir_metrics on Linux leads to a runtime error when the directory path does not end with a "/".
Workaround: Add one or two "/" at the end of the path for this option.

APAR #PI11608 (DEFECT ID 49960)

When a struct field spans over multiple lines, attostart generates an incorrect PTU.
Workaround: Rewrite the PTU manually once generated.

DEFECT ID 49193

Tests can only be exported in the workspace while it should be possible to export it at any place on the file system.
Workaround: No known workaround.