XJRUNNER_TEST_MODE

XJRUNNER_TEST_MODE is a read-only built-in integer indicating the current XJRunner test mode.

Returns

All the values used by XJRUNNER_TEST_MODE are defined as constants in the standard Globals.xje circuit code file that is added to all new projects. If your copy does not contain the constants, it can be updated.

Value Description Standard Globals.xje constant
0 The value returned when not running in XJRunner, e.g. on the Run Tests screen in XJDeveloper, in XJInvestigator and in XJRun. XJRUNNER_TEST_MODE_NONE
1 The value returned when running in Independent test mode XJRUNNER_TEST_MODE_INDEPENDENT
2 The value returned when running in Group test mode XJRUNNER_TEST_MODE_GROUP

XJRUNNER_TEST_MODE and the accompanying constants were added in XJTAG v3.10.10.

Example

PRINT("The current test mode is ", XJRUNNER_TEST_MODE, "\n");