FrontPage 

Fuego wiki

Login or create account

function target cleanup in split format

NAME [edit section]

= NAME =
target_cleanup

SYNOPSIS [edit section]

= SYNOPSIS =
 * target_cleanup

DESCRIPTION [edit section]

= DESCRIPTION =
Cleans up the target prior to a test.
This consists of erasing all contents of $BOARD_TESTDIR and /tmp on the target.
This consists of erasing all contents of $BOARD_TESTDIR and /tmp on the target.
Note that this does not just remove the contents of an individual test directory, but everything in the home and tmp areas.
Note that this does not just remove the contents of an individual test directory, but everything in the home and tmp areas.

EXAMPLES [edit section]

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

ENVIRONMENT and ARGUMENTS [edit section]

= ENVIRONMENT and ARGUMENTS =
Uses $BOARD_TESTDIR.

RETURN [edit section]

= RETURN =
Returns non-zero on error.

SOURCE [edit section]

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

SEE ALSO [edit section]

pre_test
= SEE ALSO =
 * [[function_pre_test|pre_test]]
TBWiki engine 1.8.3 by Tim Bird