]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
CI: disallow Valgrind failures in unit tests
authorPetr Špaček <petr.spacek@nic.cz>
Fri, 24 Nov 2017 13:54:34 +0000 (14:54 +0100)
committerPetr Špaček <petr.spacek@nic.cz>
Fri, 24 Nov 2017 13:54:34 +0000 (14:54 +0100)
.gitlab-ci.yml

index 421efc78efdf4276d339934643c530cd05190f45..9e36b278e393366e98b16bdc9bf4882091d22363 100644 (file)
@@ -73,8 +73,7 @@ deckard:linux:amd64:valgrind:
 test:linux:amd64:valgrind:
   stage: test
   script:
-    # TODO: valgrind missing parameter --error-exitcode=1 to fail make on error
-    - TMPDIR=$(pwd) PREFIX=$(pwd)/.local DEBUGGER="valgrind --leak-check=full --trace-children=yes --quiet --suppressions=/lj.supp" make -k check
+    - TMPDIR=$(pwd) PREFIX=$(pwd)/.local DEBUGGER="valgrind --error-exitcode=1 --leak-check=full --trace-children=yes --quiet --suppressions=/lj.supp" make -k check
   dependencies:
     - build:linux:amd64
   tags: