function_check_create_functional_logrun 

Fuego 1.0 wiki

Login or create account

function check create functional logrun

NAME [edit section]

check_create_functional_logrun

SYNOPSIS [edit section]

check_create_functional_logrun message

DESCRIPTION [edit section]

If a batch testplan is being executed (BATCH_TESTPLAN and LOGRUN_FILE are set), then the report log generator (loggen.py) is used to append results to the logrun file.

The report is placed in the REP_LOGRUN_FILE, which is in the report directory ($REP_DIR) and titled ${Device}.$LOGRUN_FILE.

If the report does not exist, it is created first.

This function is only ever called from log_compare

EXAMPLES [edit section]

Here are some sample invocations:
    check_create_functional_logrun "test error"

    check_create_functional_logrun "passed"

ENVIRONMENT and ARGUMENTS [edit section]

This function takes 1 position argument:
  • $1 is a message

RETURN [edit section]

Returns non-zero on error.

SOURCE [edit section]

Located in scripts/reports.sh

SEE ALSO [edit section]

TBWiki engine 1.8.3 by Tim Bird