]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci: suppress warnings about .gcno file timestamps caused by Git
authorPetr Špaček <petr.spacek@nic.cz>
Mon, 6 Aug 2018 16:22:54 +0000 (18:22 +0200)
committerPetr Špaček <petr.spacek@nic.cz>
Tue, 7 Aug 2018 12:56:10 +0000 (14:56 +0200)
.gitlab-ci.yml

index fe8b0e6c1f8157604475168a1ea785f2ced871ef..daadb1e89232c31cf05baaf381cac7149cf65c46 100644 (file)
@@ -151,7 +151,8 @@ deckard:linux:amd64:
     - schedules  # prevent unstable test from cancelling nightly OBS build
   script:
     - DECKARDFLAGS="-n $(nproc)" PATH="$PREFIX/sbin:$PATH" make check-integration
-    - MAKEFLAGS="--jobs $(nproc)" make coverage-c coverage-lua COVERAGE_STAGE=gcov-deckard
+  # these errors are side-effect of Git way of handling file timestamps
+    - MAKEFLAGS="--jobs $(nproc)" make coverage-c coverage-lua COVERAGE_STAGE=gcov-deckard 2>&1 | grep -vE '(source file is newer than notes file)|(the message is displayed only once per source file)'
   dependencies:
     - build:linux:amd64
   artifacts: