]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: ignore lcov errors due to inconsistency
authorLuca Boccassi <luca.boccassi@gmail.com>
Tue, 26 May 2026 19:23:25 +0000 (20:23 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 26 May 2026 19:49:44 +0000 (20:49 +0100)
lcov: ERROR: lcov: ERROR: (inconsistent) mismatched end line for test_path_exists_body at /home/runner/work/systemd/systemd/src/test/test-path.c:158: 158 -> 185 while capturing from build/mkosi.builddir/arch~rolling~x86-64/test-path.p/src_test_test-path.c.gcno
(use "lcov --ignore-errors inconsistent ..." to bypass this error)

.github/workflows/coverage.yml

index b0787e4790f170975cd2b1e88fd57befd0ca6c5e..be6a457b89581ee4b9da55627aa2f9f03111058c 100644 (file)
@@ -105,7 +105,7 @@ jobs:
             --exclude "*.gperf" \
             --output-file build/test/coverage/initial.coverage-info \
             --base-directory src/ \
-            --ignore-errors source \
+            --ignore-errors source,inconsistent \
             --no-external \
             --substitute "s#src/src#src#g"