Test_results_formats >> Fuego_Object_Details >> Adding_a_test >> Other_test_systems 

Fuego 1.2 wiki

Login

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 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 [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, test_fetch_results
= 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]]
TBWiki engine 1.9.2 by Tim Bird