run_test
The run_test
function runs a single test from the test list and waits for it to complete.
- Parameters
- The name of the function to run, e.g.
CONNTEST
orIC4.Test
. - Return number
- The number of cards that the test failed on. If the test passed on all XJLink2-3070 cards 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
- The test was not found
- There was an error accessing the hardware
- The system failed to start the tests
Example
xdcall "xjtag1", "run_test", Num, RTN$; "CONNTEST"
XJTAG v4.1.100