run_default_tests
The run_default_tests
function runs the default tests in the test list of the current project and waits for them to complete.
- Parameters
- none
- Return number
- The number of cards that had failed tests. If all tests running on all XJLink2-3070 cards passed, then the return value is zero.
- Return string
- The first 80 characters of test output. To retrieve all output, use the
get_last_test_output
function. - Fails if
-
- No project has been opened
- There was an error accessing the hardware
- The system failed to start the tests
Example
xdcall "xjtag1", "run_default_tests", Num, RTN$
XJTAG v4.1.100