- report <test-command> [<log-filename>]
test_run function, to actually execute the test on the target.
See Log files for a description of the test log on the target.
Note that the exit code from the command is preserved across the 'tee' used to capture the output from the command, and used with the 'exit' statement to have this be the return code from the 'report' operation.
To record the output of a command run on the Fuego host, use log_this.
- $1 - the command to execute on the target
- $2 - (optional) the filename of the test log, on the target. If this is not specified, the value $BOARD_TESTDIR/fuego.$TESTDIR/$TESTDIR.log is used.
The following variables are used:
These are used to construct the default test log filename on the target, if a log filename is not specified in the positional arguments.