Technote (troubleshooting)
Problem(Abstract)
Attempts to test a pointer variable with IBM Rational Test RealTime result in an incorrect result in the report.
Cause
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.
EXAMPLE
VAR a, pointer , init =0x12345678, ev =NONIL -- init and test as
a pointer
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.