|
|
function fetch results in split format
|
|
= NAME =fetch_results
|
|
|
= SYNOPSIS = * fetch_results
|
|
post_test.
|
= DESCRIPTION =Retrieve the test log and system logs from the target device. This is called by [[function_post_test|post_test]].
|
|
It calls the firmware function, then retrieves the test log output fromthe board.
|
It calls the [[function_firmware|firmware]] function, then retrieves the test log output fromthe board.
|
|
Then it does a "dump_syslogs after".
|
Then it does a "[[function_dump_syslogs|dump_syslogs]] after".
|
|
Then it uses get to retrieve the before and after system logs.
|
Then it uses [[function_get|get]] to retrieve the before and after system logs.
|
|
Finally, it calls fetch_test_results if one is defined for this test. This allows the test to perform any special actions required to get results from the board.
|
Finally, it calls [[function_test_fetch_results|fetch_test_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''
|
|
post_test
|
= SEE ALSO = * [[function_post_test|post_test]] * [[function_firmware|firmware]], [[function_dump_syslogs|dump_syslogs]],[[function_get|get]], [[function_test_fetch_test_results|test_fetch_results]]
|
|
|