function target cleanup in split format
|
= NAME =
target_cleanup
|
|
= SYNOPSIS =
* target_cleanup
|
|
= 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 =
Here are some sample invocations:
{{{#!YellowBox
target_cleanup
}}}
|
|
= ENVIRONMENT and ARGUMENTS =
Uses $BOARD_TESTDIR.
|
|
= RETURN =
Returns non-zero on error.
|
|
= SOURCE =
Located in ''scripts/functions.sh''
|
pre_test
|
= SEE ALSO =
* [[function_pre_test|pre_test]]
|