function log this
- log_this <test-command>
test_run function, when it needs to record data for a test from a command on the host. To record data from a command run on the board, use report.
See Log files for a description of the test logs.
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 'log' operation.
- $1 - the command to execute on the host
The following variables are used: