IBM Support

Incorrect report from test of pointer with NONIL value

Technote (troubleshooting)


Attempts to test a pointer variable with IBM Rational Test RealTime result in an incorrect result in the report.


The preprocessor generated an incorrect variable type. In this way the compiler does not see the variable as a pointer. The test script compiler understands the variable type incorrectly.

Resolving the problem

Add the format "pointer" to the VAR line. Now you are sure that the compiler takes the variable as a pointer. In this way Rational Test RealTime will initialize and test as a pointer.


VAR a, pointer , init =0x12345678, ev =NONIL -- init and test as
a pointer

Document information

More support for: Rational Test RealTime
Component Testing: C

Software version: 7.5,,,,,,, 8.0,,

Operating system(s): AIX, HP-UX, Linux, Solaris, Windows

Reference #: 1617291

Modified date: 15 November 2012

Translate this page: