FrontPage 

Fuego wiki

Login or create account

function get testlog in split format

NAME [edit section]

= NAME =
get_testlog

SYNOPSIS [edit section]

= SYNOPSIS =
 * get_testlog <testdir> [<testlog-filename>]

DESCRIPTION [edit section]

= DESCRIPTION =
Retrieve the test log from the target device.

EXAMPLES [edit section]

= EXAMPLES =
Here are some sample invocations:
{{{#!YellowBox
    get_testlog $TESTDIR $BOARD_TESTDIR/fuego.$TESTDIR/$TESTDIR.log
}}}

ENVIRONMENT and ARGUMENTS [edit section]

= ENVIRONMENT and ARGUMENTS =
 * $1 = testdir
 * $2 = (optional) testlog-filename, which is the name of test log on target to retrieve. If this is not specified, the following default is used: $BOARD_TESTDIR/fuego.$TESTDIR/$TESTDIR.log
The following values are used by the routine: * FUEGO_LOGS_PATH * JOB_NAME * NODE_NAME * BUILD_ID * BUILD_NUMBER
The following values are used by the routine:
 * FUEGO_LOGS_PATH
 * JOB_NAME
 * NODE_NAME
 * BUILD_ID
 * BUILD_NUMBER
These are used to construct the output path for the logfile (on the host), which is: $FUEGO_LOGS_PATH/${JOB_NAME}/testlogs/${NODE_NAME}.${BUILD_ID}.${BUILD_NUMBER}.log
These are used to construct the output path for the logfile (on the host),
which is: $FUEGO_LOGS_PATH/${JOB_NAME}/testlogs/${NODE_NAME}.${BUILD_ID}.${BUILD_NUMBER}.log

RETURN [edit section]

= RETURN =
Returns non-zero on error.

SOURCE [edit section]

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

SEE ALSO [edit section]

bench_processing, get
= SEE ALSO =
 * [[function_bench_processing|bench_processing]], [[function_get|get]]
TBWiki engine 1.8.3 by Tim Bird