[gjs: 3/7] tests: Exclude generated resource files from code coverage



commit dd99b34a264c61f4202acf2c2b6ac9591a445d27
Author: Philip Chimento <philip chimento gmail com>
Date:   Sun Aug 4 20:58:50 2019 -0700

    tests: Exclude generated resource files from code coverage
    
    We don't really need to see the coverage metrics for these files. They
    are automatically generated and all the files are used.

 Makefile-test.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/Makefile-test.am b/Makefile-test.am
index d4521831..d2233ee4 100644
--- a/Makefile-test.am
+++ b/Makefile-test.am
@@ -361,7 +361,7 @@ DEBUGGER_LOG_DRIVER = $(LOG_DRIVER)
 DEBUGGER_LOG_COMPILER = $(top_srcdir)/installed-tests/debugger-test.sh
 EXTRA_DIST += installed-tests/debugger-test.sh
 
-CODE_COVERAGE_IGNORE_PATTERN = */{include,mfbt,gjs/test}/*
+CODE_COVERAGE_IGNORE_PATTERN = */{include,mfbt,gjs/test}/* *-resources.c
 CODE_COVERAGE_GENHTML_OPTIONS =                        \
        $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)        \
        lcov/coverage.lcov                              \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]