function fetch results in 'raw' format
= NAME =
fetch_results
= SYNOPSIS =
* fetch_results
= DESCRIPTION =
Retrieve the test log and system logs from the target device. This is called by [[function_post_test|post_test]].
It calls the [[function_firmware|firmware]] function, then retrieves the test log output from
the board.
Then it does a "[[function_dump_syslogs|dump_syslogs]] after".
Then it uses [[function_get|get]] to retrieve the before and after system logs.
Finally, it calls [[function_test_fetch_results|test_fetch_results]] if one is defined for this test. This allows the test to perform any special actions required to get results from the board.
= EXAMPLES =
Here are some sample invocations:
{{{#!YellowBox
fetch_results
}}}
= ENVIRONMENT and ARGUMENTS =
The following values are used by the routine:
* FUEGO_TARGET_TMP
* TESTDIR
* NODE_NAME
* BUILD_ID
* BUILD_NUMBER
* LOGDIR
= RETURN =
Returns non-zero on error.
= SOURCE =
Located in ''scripts/functions.sh''
= SEE ALSO =
* [[function_post_test|post_test]]
* [[function_firmware|firmware]], [[function_dump_syslogs|dump_syslogs]],[[function_get|get]], [[function_test_fetch_results|fetch_test_results]]