• Iustin Pop's avatar
    Fix coverage reports · 577b170b
    Iustin Pop authored
    Currently, the coverage reports include the unittests themselves, and
    this skewes unfairly the reports, as the coverage for the tests is very
    high (since they all run).
    To fix this, we export the ganeti temp dir from run-in-temp-dir, and we
    use that to exclude the tests directory. The patch also fixes a but
    related to multiple directories to be omitted (--omit a --omit b is
    wrong, it needs to be --omit a,b).
    Signed-off-by: default avatarIustin Pop <iustin@google.com>
    Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
gen-coverage 1.34 KB