Fixed problems Release Notes

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

Release notes

1.0 Code Review for C
   1.1 Defect ID RATLC01530293
   1.2 APAR # PM13306
   1.3 APAR # PM17237
   1.4 APAR # PM17245
   1.5 APAR # PM18700
   1.6 APAR # PM18710
   1.7 APAR # PM18713
   1.8 APAR # PM18768
   1.9 APAR # PM18770
   1.10 APAR # PM18772
   1.11 APAR # PM18773
   1.12 APAR # PM18774
   1.13 APAR # PM18775
   1.14 APAR # PM18788
   1.15 APAR # PM18790
   1.16 APAR # PM18797
   1.17 APAR # PM18819
   1.18 APAR # PM20696
   1.19 APAR # PM20926
   1.20 APAR # PM21827
   1.21 APAR # PM21830
   1.22 APAR # PM23098
   1.23 APAR # PM23461
   1.24 APAR # PM23712
   1.25 APAR # PM26416
2.0 Component Test for Ada
   2.1 APAR # PM12449
   2.2 APAR # PM14237
   2.3 APAR # PM16657
   2.4 APAR # PM19298
   2.5 APAR # PM19313
   2.6 APAR # PM20531
   2.7 APAR # PM21311
   2.8 APAR # PM21312
   2.9 APAR # PM22474
   2.10 APAR # PM25563
3.0 Component Test for C
   3.1 Defect ID RATLC00154116
   3.2 APAR # PM01210
   3.3 APAR # PM13693
   3.4 APAR # PM22365
   3.5 APAR # PM23264
   3.6 APAR # PM23470
   3.7 APAR # PM25145
   3.8 APAR # PM25919
   3.9 APAR # PM26334
4.0 Component Test for C++
   4.1 APAR # PM16403
5.0 Component Test for Java
6.0 Documentation - TestRT
   6.1 ID RATLC01504714
   6.2 APAR # PM15643
   6.3 APAR # PM20634
   6.4 APAR # PM21460
7.0 Eclipse Integration
   7.1 APAR # PM26415
8.0 GUI - TestRT
   8.1 APAR # PM01406
   8.2 APAR # PM20131
   8.3 APAR # PM24008
   8.4 Defect ID RATLC01532502
9.0 Installation - TestRT
   9.1 ID RATLC01497085
10.0 Integration with RQM
11.0 Integration with TestManager
12.0 Plug-in APEX
13.0 Plug-in Matlab
14.0 Plug-in RoseRT
15.0 Plug-in Visual
   15.1 APAR # PM23393
16.0 Plug-in TI Code Composer
17.0 Qualification Kit
18.0 Runtime Analysis
   18.1 APAR # PM17907
   18.2 APAR # PM24725
19.0 System Testing for C
20.0 Target Deployment Port
   20.1 APAR # PM12872
   20.2 APAR # PM12963
   20.3 APAR # PM13112
   20.4 APAR # PM14255
   20.5 APAR # PM22495
   20.6 APAR # PM23204
   20.7 APAR # PM23924

1.0 Code Review for C

1.1 Defect ID RATLC01530293

There is now a new option on the "crccc" source code analyser "-fileversion=<string>" that will put the given file version into the Code Review report. This is also available from the Graphical User Interface "studio" via the setting "Build option -> List tested file versions".

1.2 APAR # PM13306

False detection of Rule M11.4.1:Casting an object pointer type to a different object pointer type.

1.3 APAR # PM17237

No detection of Rule M12.13 increment operator in assignation.

1.4 APAR # PM17245

Incorrect detection of Rules M7.1, octal escape sequences.

1.5 APAR # PM18700

False detection of Rule M11.4.2:Casting an object pointer type to a different object pointer type should not occur.

1.6 APAR # PM18710

Code Review Rule 14.8.1 is not reported for a switch statement without brace. Rule M15.3.1 reported instead.

1.7 APAR # PM18713

Bad detection of Rule M8.2: the type of<name>should be explicitly stated.

1.8 APAR # PM18768

Bad detection of Rule M14.6: only one break statement should be used.

1.9 APAR # PM18770

Bad detection of Rule 8.11 when a function is declared and defined in a source file.

1.10 APAR # PM18772

The Code Review Rule M20.6 was not raised when "offsetof()" is used.

1.11 APAR # PM18773

Bad detection of Rule M15.2: the break statement should only be used to.

1.12 APAR # PM18774

Bad detection of Rule 8.8 when a function is declared in two include files.

1.13 APAR # PM18775

False detection of Rule 19.4 when a define is containing const and volatile type qualifiers.

1.14 APAR # PM18788

Unexpected error M4.1 for escape sequence on '\v'

1.15 APAR # PM18790

Reporting M10.6 and M10 when Expecting error M12.6.

1.16 APAR # PM18797

Bad detection of Rule M9.3 when only a few elements in an enumeration are initialized.

1.17 APAR # PM18819

Bad detection of the Rule M19.9: the preprocessing directive should not be used as argument to the macro when the macro is invoked from the body.

1.18 APAR # PM20696

The parameter of the Rule M5.2 is not correctly display.

1.19 APAR # PM20926

Rule 5.3 was not correctly reported in case of double identical definition in the same scope.

1.20 APAR # PM21827

Rules M10.1.1, M10.1 and M16.7 were reported as violated on special pointer type.

1.21 APAR # PM21830

Code Review Rule 14.2 was displayed when a non-null statement should either have a side effect or change the control flow, despite the cast as void return in the call statement.

1.22 APAR # PM23098

The line number is missing for the second message of the rule 15.2., --:--: is display.

1.23 APAR # PM23461

Bad detection of the Rule 5.1.1 in function declaration.

1.24 APAR # PM23712

Code review Rule 19.4 warning not be raised for complex macro with Zero parenthesis level.

1.25 APAR # PM26416

The new Rule M8.9.1 is now marked as broken if a global variable or function is declared, used but not defined.

2.0 Component Test for Ada

2.1 APAR # PM12449

NONIL is not found with array of pointers.

2.2 APAR # PM14237

Missing "with"s in the Ada code generated from PTU script.

2.3 APAR # PM16657

attolada.exe did not offer the alternate checksum option as attolccp.exe.

2.4 APAR # PM19298

attolpreproAda optimizer suppresses some required "with" clauses.

2.5 APAR # PM19313

attolada error: Entity is not found where parameter comes from an Ada generic instantiation.

2.6 APAR # PM20531

attolpreproADA unconstraint check generates a bad type for stub.

2.7 APAR # PM21311

attolpreproAda generates packages in a wrong order.

2.8 APAR # PM21312

attolpreproAda optimizer removes duplicate code even when the code is inline and separate at the same time.

2.9 APAR # PM22474

fct_simule.adb cannot be compiled with NOEXCEP "invalid prefix in selected component".

2.10 APAR # PM25563

The attolpreproAda Ada83 code generator generates a complex use clause in context of package.

3.0 Component Test for C

3.1 Defect ID RATLC00154116

Addition of a better description for three attolcov errors.

3.2 APAR # PM01210

In Component Testing for C, stubs containing a function pointer as a function parameter generates an error. Test RealTime does not support testing of function pointer only data pointers in C. This is because on many targets, you can not cast a function pointer to a data pointer because they do not have the same size. In fact, ISO C forbids such casts.
If your compiler does support such casts then you can use the following workaround: Create a typedef for function pointers and then declare the function you want to stub as taking this type as its parameter.

3.3 APAR # PM13693

Test script generator generates stubs for functions found in system include files.

3.4 APAR # PM22365

attolpostpro abnormally terminates while processing huge files.

3.5 APAR # PM23264

All Service names are no longer listed on the attolpreproC command line when all services are required. This avoid a Command line too long.

3.6 APAR # PM23470

#define evaluation was limited to 32 bits value instead of 64 bits value.

3.7 APAR # PM25145

Internal error raised in Module SFC when ATLTGT is set to specific windows paths.

3.8 APAR # PM25919

The macro ATC_INFORMATION was not defined before use in component testing and could lead the compiler to generate an error.

3.9 APAR # PM26334

Include paths are not read from the CDT when the wizard analyzes the source under test.

4.0 Component Test for C++

4.1 APAR # PM16403

The attolccp instrumentor application generates an initialized local variable into the switch scope. This initialisation in C++ provides a call to a constructor. If there is a goto statement above before the switch statement then the instrumented source code breaks the stack of Constructor/Destructor in ordered call in C++. The gcc C++ compiler detects an error (cross-initialisation) for this problem.

5.0 Component Test for Java

None

6.0 Documentation - TestRT

6.1 ID RATLC01504714

Addition of details in the documentation available in the TDP editor.

6.2 APAR # PM15643

Description for NB_VALUE does not state the usage of float requiring to have float on the target.

6.3 APAR # PM20634

ATL_WITHOUT_STUDIO is no longer available in products.h because it leads to have missmatch between runtime and instrumented sources. It's usage is now removed from the User Manual to be replaced by attolcc -force_tdp_cc -ENV_ATL_NO_TDP_COMPILE=1 to generate products.h.

6.4 APAR # PM21460

User Manual did not state that, stubbing function in the same source file as the code under test is allowed only if this source code is part of the PTU using the ##include instruction.

7.0 Eclipse Integration

7.1 APAR # PM26415

TestRTcc does not use USERPROFILE environment variable to locate envTestRTcc.pl file, as it is used by Eclipse when HOMEDRIVE and HOMEPATH do not exist.

8.0 GUI - TestRT

8.1 APAR # PM01406

In the Test RT UI, the settings option "General -> Directories -> Report" requires two clicks on the small "x" button to revert the value to the default value instead of only one click.

8.2 APAR # PM20131

The COMMENT statement located between Test blocks or SERVICE blocks was reported into the last variable or last test instead of reported in the next test or next service in the report.

8.3 APAR # PM24008

The setting General::TargetDeploymentPort::Directory can be a relative path to the project directory, allowing to manage TDP and project in the same source version management.

8.4 Defect ID RATLC01532502

The component testing wizard does not show the list of unit when the "preference:project:automatic" tagging is not set.
The error message does not state this lack of setting in the preferences.

9.0 Installation - TestRT

9.1 ID RATLC01497085

Each Test RealTime version installation requires to re-save the TDP to update them that cannot be done automatically. So the error message details which xdp file must be re-saved.

10.0 Integration with RQM

None

11.0 Integration with TestManager

None

12.0 Plug-in APEX

None

13.0 Plug-in Matlab

None

14.0 Plug-in RoseRT

None

15.0 Plug-in Visual

15.1 APAR # PM23393

Plug-in Visual for Visual 2005 delivered into 7.0.0.1 TDP doesn't work when source folder is outside the project. This problem is solved in the release 7.5 or higher.

16.0 Plug-in TI Code Composer

None

17.0 Qualification Kit

None

18.0 Runtime Analysis

18.1 APAR # PM17907

Some Ada 2005 syntax are now accepted in spec blocks in order to instrument Ada 95 code using specification written with the Ada 2005.

18.2 APAR # PM24725

Missing brace in an "if" statement including a "return" statement when instrumenting with performance profiling only.

19.0 System Testing for C

None

20.0 Target Deployment Port

20.1 APAR # PM12872

When we are saving a non standard TDP for C/C++ (ie RTRT_BUFFER_SIZE is set), the INSTRUM_OPT =-INIT_UNSUPPORTED as basic setting, is forcing the instrumentation option to -INIT_UNSUPPORTED which is not a correct option for the C/C++ instrumentor.

20.2 APAR # PM12963

The TDP does not compile when a TDP defines it own memory allocation and free routines and you use contract check.

20.3 APAR # PM13112

Application may crash on FILENO() for Files In Use detection when the report file (.spt) is not yet opened.

20.4 APAR # PM14255

TDP update migration fails with tag mismatch.

20.5 APAR # PM22495

#warnning directive was used by the runtime library that would cause compilation error used old compiler.

20.6 APAR # PM23204

When two different compilers are used for C and C++ in the TDP, it was not able to detect include directory and defines for the C language, and used the same as for C++.

20.7 APAR # PM23924

On TDP, when we save an action for GNU based TDP, the GccUpdate generates C defines instead of C++ into atus_cpp.def used by for attolpreprocpp and atspreprocpp.