Branch data Line data Source code
1 : : #include "sute.h"
2 : :
3 : 1 : Return clean(void)
4 : : {
5 : : /* The status that will be returned before exiting */
6 : : /* By default, assumes the function ran without errors */
7 : 1 : Return status = SUCCESS;
8 : :
9 : : // Clear up all temporary files
10 : : // Empty relative path resolves to TMPDIR itself, so this removes the whole temporary test root
11 : 1 : run(delete_path(""));
12 : :
13 [ + - ]: 1 : if(SUCCESS == status)
14 : : {
15 : 1 : echo(EXTEND,"finished");
16 : : }
17 : :
18 : 1 : deliver(status);
19 : : }
|