Code

t/coverage: Ignore parser/scanner and parser/grammar.
authorSebastian Harl <sh@tokkee.org>
Wed, 6 May 2015 22:32:35 +0000 (00:32 +0200)
committerSebastian Harl <sh@tokkee.org>
Wed, 6 May 2015 22:32:35 +0000 (00:32 +0200)
t/coverage.sh

index 3a8a4167cca689839ed6dc8faaeb07ac4ec101f0..d6f00bebfb6458180aab5e6b28f2978f3dd7166d 100755 (executable)
@@ -58,7 +58,8 @@ lcov --base-directory src --directory src --no-external \
                --capture -o sysdb_coverage.info
 for pattern in '*.y' '*.l' \
                'sysdb/scanner.c' 'frontend/scanner.c' 'liboconfig/scanner.c' \
-               'frontend/grammar.c' 'liboconfig/parser.c'
+               'parser/scanner.c' 'frontend/grammar.c' 'parser/grammar.c' \
+               'liboconfig/parser.c'
 do
        lcov --remove sysdb_coverage.info "$pattern" -o sysdb_coverage.info
 done