RESULTOF
The RESULTOF function returns the result of the named test function the last time it was run.
This function would typically be used in a condition in the XJRunner test list.
Syntax
RESULTOF( STRING testFunction )
Parameters
- testFunction
- The name of the test function.
Return value
An INT value containing the result of the test function the last time it ran in the current session.
Errors
A runtime error can occur in the following circumstances:
- The named test function does not exist.
- The named test function has not yet been run in this session. This can be avoided by calling HAS_RUN first.
- The test function name is ambiguous, because more than one function in the test list has that name.
Ambiguities can be resolved by adding the group name before the function name separated with a dot, e.g. HAS_PASSED("Memory Tests.IC5.Test").
Example
HAS_RUN("CONNTEST") &&? RESULTOF("CONNTEST") > 5
XJTAG v4.1.100