Fixed problems Release Notes

© Copyright International Business Machines Corporation 2012. 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 APAR # PM52485 (DEFECT ID RATLC01815596)
   1.2 APAR # PM54472 (DEFECT ID RATLC01815802)
   1.3 APAR # PM55408 (DEFECT ID RATLC01815881)
   1.4 APAR # (DEFECT ID RATLC02503018)
2.0 Component Testing for C
   2.1 APAR # PM52761 (DEFECT ID RATLC01815631)
   2.2 APAR # PM54007 (DEFECT ID RATLC01815770)
   2.3 APAR # (DEFECT ID RATLC02501856)
3.0 GUI - TestRT
   3.1 APAR # PM52571 (DEFECT ID RATLC01815607)
   3.2 APAR # PM55014 (DEFECT ID RATLC01815852)
4.0 Installation - TestRT
   4.1 APAR # PM59671 (DEFECT ID RATLC02503236)
5.0 Integration with RQM
   5.1 APAR # PM51898 (DEFECT ID RATLC01815540)
   5.2 APAR # (DEFECT ID RATLC01815580)
   5.3 APAR # PM56221 (DEFECT ID RATLC01815930)
   5.4 APAR # (DEFECT ID RATLC02502771)
6.0 Runtime Analysis
   6.1 APAR # (DEFECT ID RATLC01374549)
   6.2 APAR # PM46150 (DEFECT ID RATLC01814975)
   6.3 APAR # PM56394 (DEFECT ID RATLC01815947)
   6.4 APAR # PM58103 (DEFECT ID RATLC02502056)
7.0 System Testing for C
   7.1 APAR # PM53084 (DEFECT ID RATLC01815673)
8.0 Target Deployment Port
   8.1 APAR # PM51896 (DEFECT ID RATLC01815535)
   8.2 APAR # (DEFECT ID RATLC02499309)

1.0 Code Review for C

   1.1 APAR # PM52485 (DEFECT ID RATLC01815596)

Rule M16.7 raised, even if the pointer parameter is not used to change the pointed object.

   1.2 APAR # PM54472 (DEFECT ID RATLC01815802)

crccc.exe crashes when a struct pointer is declared into a switchCase without brace.

   1.3 APAR # PM55408 (DEFECT ID RATLC01815881)

The Code Review Rule M12.6 is displayed when it should not.
No known workaround.

   1.4 APAR # (DEFECT ID RATLC02503018)

the Rule M12.1 has been split in 2 rules M12.1.1 and M12.1 in order to separate the rule for logic OR/AND and others operators.

2.0 Component Testing for C

   2.1 APAR # PM52761 (DEFECT ID RATLC01815631)

A stub call number that does not correspond to any defined slice is not reported as an error.
Workaround: Define all call ranges in the PTU.

   2.2 APAR # PM54007 (DEFECT ID RATLC01815770)

When updating a PTU, the include source statement is generated twice.
Workaround: Do not use a path separator in the filename by using include path.

   2.3 APAR # (DEFECT ID RATLC02501856)

Testing_C/Compare/simple.ptu script demonstrates pointer comparison between 2 executions.

3.0 GUI - TestRT

   3.1 APAR # PM52571 (DEFECT ID RATLC01815607)

'Abort button' does not stop the export to HTML report.
Workaround: wait or kill studio and start an other studio UI.

   3.2 APAR # PM55014 (DEFECT ID RATLC01815852)

Path to code review configuration file into studio settings is taken into account when relative path is entered.
Workaround: enter absolute path.

4.0 Installation - TestRT

   4.1 APAR # PM59671 (DEFECT ID RATLC02503236)

There is a wrong parameter when running testrtinit.csh script - RT_PRE: Undefined variable.
Workaround :
In file testrtinit.csh , modify the lines below (at the beginning of the file):
# Please indicate here the path to the installation
# directory, such that ${RTRT_DIR}/TestRealTime.7.5.0.0 is
# a valid directory:
setenv RTRT_DIR /opt/IBM/TestRealTime
By
....
# Please indicate here the path to the installation
# directory, such that ${RTRT_DIR}/TestRealTime.7.5.0.0 is
# a valid directory:
setenv RTRT_DIR /opt/IBM/
setenv RT_PRE TestRealTime
...
Run the script again.

5.0 Integration with RQM

   5.1 APAR # PM51898 (DEFECT ID RATLC01815540)

Rational Quality Manager (RQM) Test environment and TestCaseName are taken into account on TestRT execution using RQM 3.0.1.
Workaround: change the active environment into TestRT project through studio.Fixed using RQM 3.0.1.2.

   5.2 APAR # (DEFECT ID RATLC01815580)

Not enough information when Rational Quality Management adapter fails to start.
No known workaround.

   5.3 APAR # PM56221 (DEFECT ID RATLC01815930)

If a build error occurs, the test result is correctly set to 'Error' but there is no transition from 'In Progress' to 'Failed'.
Workaround: fixed the build error from studio.

   5.4 APAR # (DEFECT ID RATLC02502771)

Add global code coverage result found by Test RealTime into Rational Quality Manager test case summary/overview execution results.

6.0 Runtime Analysis

   6.1 APAR # (DEFECT ID RATLC01374549)

attolccp does not instrument conditions in macros containing statement expressions.
No known workaround.

   6.2 APAR # PM46150 (DEFECT ID RATLC01814975)

The Stroud number used to compute testing time is always set as the default number (18) even if modified in the preferences.
No known workaround.

   6.3 APAR # PM56394 (DEFECT ID RATLC01815947)

MAX_SCOPE reached in ParseStatement() during instrumentation when there are too many if-else if constructs.
Workaround is to replace the if-else if by switch-case.

   6.4 APAR # PM58103 (DEFECT ID RATLC02502056)

Lack of documentation about option --linenumoptim.
Workaround: type attolcc --help into cmd/shell window to get textual online help.

7.0 System Testing for C

   7.1 APAR # PM53084 (DEFECT ID RATLC01815673)

System Testing produces a syntax error during compilation when the output buffer size setting has been increased above 1024 bytes.
Workaround: Keep the output buffer size 1024 bytes.

8.0 Target Deployment Port

   8.1 APAR # PM51896 (DEFECT ID RATLC01815535)

$ENV('PROGRAMFILES(X86)') in Target Deployment Port basic setting can not be resolved because of '(' char.
Workaround: it is to edit lib/scripts/Fcts.pl around line 590 to add the second line:
$Value=~s/\$ENV{\'(\w+)\'}/$ENV{$1}/g;
$Value=~s/\$ENV{\'([\w\(\)]+)\'}/$ENV{$1}/g

   8.2 APAR # (DEFECT ID RATLC02499309)

REPORTHEADER now accepts <br> token as \n to split lines into custom report header.