LCOV - code coverage report
Current view: top level - tests/src - clean.c (source / functions) Coverage Total Hit
Test: coverage.info Lines: 100.0 % 6 6
Test Date: 2026-07-12 01:01:34 Functions: 100.0 % 1 1
Branches: 50.0 % 2 1

             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                 :             : }
        

Generated by: LCOV version 2.0-1