FrontPage 

Fuego wiki

Login or create account

function fetch results in split format

NAME [edit section]

= NAME =
fetch_results

SYNOPSIS [edit section]

= SYNOPSIS =
 * fetch_results

DESCRIPTION [edit section]

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 from the board.
It calls the [[function_firmware|firmware]] function, then retrieves the test log output from
the 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 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.
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 [edit section]

= EXAMPLES =
Here are some sample invocations:
{{{#!YellowBox
    fetch_results
}}}

ENVIRONMENT and ARGUMENTS [edit section]

= ENVIRONMENT and ARGUMENTS =
The following values are used by the routine:
 * FUEGO_TARGET_TMP
 * TESTDIR
 * NODE_NAME
 * BUILD_ID
 * BUILD_NUMBER
 * LOGDIR

RETURN [edit section]

= RETURN =
Returns non-zero on error.

SOURCE [edit section]

= SOURCE =
Located in ''scripts/functions.sh''

SEE ALSO [edit section]

post_test * firmware, dump_syslogs,get, fetch_test_results
= 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]]
TBWiki engine 1.8.3 by Tim Bird