Fixed problems Release Notes

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

1. Component Testing for Ada (Legacy) 2. Component Testing (Rational Test RealTime for Eclipse IDE) 3. TDP Runtime 4. Stub (Rational Test RealTime for Eclipse IDE) 5. Binary (Legacy) 6. Test Harness (Rational Test RealTime for Eclipse IDE) 7. Call Graph (Rational Test RealTime for Eclipse IDE) 8. Component Testing for C (Legacy) 9. Ada Instrumentor (Legacy) 10. Documentation

APAR #PI44681 (DEFECT ID 54714)

When instantiating a subtype from interface.ads, attolada fails to generate a required 'with' for infix operators.
Workaround: Add 'with Interfaces;' in the PTU.

DEFECT ID 61083

In Eclipse, when creating a new Test RealTime project into a new workspace without specifying a TDP, the exception 'null TDP' is raised.
Workaround: When creating a new Test RealTime project, always specify a TDP by going thru all the different wizard steps.

DEFECT ID 61007

In Eclipse, when removing a report file from the Test Script runs list that has been previously deleted in the file explorer, a null pointer exception is raised.
Workaround: No known workaround.

DEFECT ID 60762

When IBM Rational Test RealTime for eclipse IDE is installed into Texas Instrument Code Composer Studio 6, Test Case cannot be created when a function contains void parameters.
Workaround: Remove any void parameters.

APAR #PI66276 (DEFECT ID 60721)

Depending on the compiler, the display base 10 of signed integer value is truncated in the test report.
Workaround: Update line 455 of [Installation Folder]/IBM/Test RealTime/targets/xml/c/lib/atlimage.c with : return (unsigned_image_10((unsigned _ATL_LARGEST_INT)n,res)+i);

DEFECT ID 60586

In Eclipse, when a struct field type is a volatile struct pointer, the generated type in the Test Case is not correct.
Workaround: Remove the volatile keyword.

DEFECT ID 60562

In Eclipse, when a function has an out paramter defined as a structure, the stub generation is not correct.
Workaround: No known workaround.

DEFECT ID 60507

Ada code cannot be hidden from attolada.
Workaround: Starting in IBM Rational Test RealTime version 8.0.2, new comment keywords (case insensitive) have been added to support that feature.
To disable the parsing : --#Pragma attol stop_analyze
To enable the parsing: --#Pragma attol start_analyze
To add code only visible to attolada -!Attol!-- <place you own code here>

DEFECT ID 60408

In Eclipse, during a Stub generation, when a returned variable has a structure type, it is not initialized properly.
Workaround: No known workaround.

DEFECT ID 60228

In Eclipse, when drag and dropping a function from the project browser to a Test Case code block, a null pointer exception is raised.
Workaround: Type the method directly into the Test Case code block.

DEFECT ID 60199

Link file Ada2012 is not generated properly.
Workaround: Specify your own Ada2012 libraries alk file in Studio / Project Settings/ Build / Linker / Additional objects or libraries.

DEFECT ID 59900

Under eclipse, the build.log file of a test_result file cannot be opened.
Workaround: Copy the test_result file to a temporary location. Change its extension to '.zip'. You can now access the build.log from within that file.

DEFECT ID 59841

Under eclipse, when trying to set parameter out value, the out stub parameter value is not set properly.
Workaround: No known workaround.

DEFECT ID 59636

An exception is raised when cancel is requested during the call graph wizard 'stub selection' step.
Workaround: No known workaround.

DEFECT ID 59568

Sometimes, code generation fails when saving Test Case or Test Harness.
Workaround: Perform a modification in your Test Case or Test Harness and save it again.

APAR #PI59725 (DEFECT ID 58996)

Upload port number cannot be set in eclipse settings.
Workaround: Update the following file [Installation Folder]/IBM/Test RealTime/lib/scripts/BatchCCDefaults.pl with : $UPLOADER_PORT=7777;

APAR #PI63091 (DEFECT ID 58915)

Target Deployment Port for Microsoft Visual does not compile when RTRT_IO is set to RTRT_SOCKET.
Workaround: In TestRealTime/targets/xml/c/lib/priv.c, line 289, replace send(f, s, strlen(s),0); by send(file, str, strlen(str),0);.
To avoid POSIX include for socket :
- Define the macro RTRT_SOCKET_INCLUDES in the target deployment editor section : Library Settings/Include files or code visible only to the Target Deployment Port.
- Add ws2_32.lib to the libraries list for link.
Also, if you want to use Rational Test RealTime socket listener, you must add SOCKET_UPLOAD=”true” in the target deployment port editor basic settings.

DEFECT ID 58907

When generating a method signature for a method located in a class that has no parameter and no scope, atostart4 crashes.
Workaround: No known workaround.

APAR #PI63106 (DEFECT ID 58778)

Code generation fails when stubbing a function using the paramater type '...'.
Workaround: No known workaround.

APAR #PI58409 (DEFECT ID 58734)

When the parameter of a function prototype is a pointer to a function, regexp compilation errors might be raised when call graph is requested.
Workaround: No known workaround.

DEFECT ID 58425

attolpreproC fails to recognize I1 (or In) when it is used in a compound expression for INIT or EV. The following error is displayed : 'Unknown ident I1'.
Workaround: In the PTU, add the line #extern int I1; above BEGIN statement.

DEFECT ID 58161

When spec and body are defined in the same Ada source file, the Ada parser generates the following error : 'entity A is already defined in same scope'.
Workaround: Place spec and body in different Ada source files.

DEFECT ID 57205

Editors and code generation are missing information (source files, methods etc) when the 'include path' in project settings is set with an absolute path outside the workspace.
Workaround: No known workaround.

APAR #PI51794 (DEFECT ID 56652)

On Linux, Testing_C/Overhead compiles with warnings.
Workaround: No known workaround.