• David Zeuthen's avatar
    add unit test framework with gcov coverage support (make check-coverage) · 1d037a7b
    David Zeuthen authored
    This is what it looks like
    
    ==============================================================================
    Test coverage for module polkit:
    ==============================================================================
    polkit-sysdeps.c                                        :   0% (0 of 38)
    polkit-error.c                                          :   0% (0 of 44)
    polkit-result.c                                         :   0% (0 of 16)
    polkit-context.c                                        :   0% (0 of 213)
    polkit-action.c                                         :  34% (20 of 58)
    polkit-seat.c                                           :   0% (0 of 34)
    polkit-session.c                                        :   0% (0 of 97)
    polkit-caller.c                                         :   0% (0 of 81)
    polkit-policy-file-entry.c                              :   0% (0 of 72)
    polkit-policy-file.c                                    :   0% (0 of 220)
    polkit-policy-cache.c                                   :   0% (0 of 98)
    polkit-policy-default.c                                 :   0% (0 of 67)
    polkit-debug.c                                          :   0% (0 of 15)
    polkit-utils.c                                          :   0% (0 of 42)
    polkit-config.c                                         :   0% (0 of 263)
    polkit-authorization.c                                  :   0% (0 of 162)
    polkit-authorization-constraint.c                       :   0% (0 of 107)
    polkit-authorization-db.c                               :   0% (0 of 222)
    
    Source lines          : 6919
    Actual statements     : 1849
    Executed statements   : 20
    Test coverage         : 1%
    1d037a7b
Makefile.am 1.53 KB