]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Printout with exit code.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 18 Apr 2019 10:18:32 +0000 (10:18 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 18 Apr 2019 10:18:32 +0000 (10:18 +0000)
git-svn-id: file:///svn/unbound/trunk@5168 be551aaa-1e26-0410-a405-d3ace91eadb9

.travis.yml

index 7c32543dcddb9f6329cbbaf5e2d585558393ba92..ca63dbc0fcdbc647e8c1db1f4e07f7c01bfc50b8 100644 (file)
@@ -13,4 +13,4 @@ script:
   - ./configure --enable-debug
   - make
   - make test
-  - cd testdata; ../testcode/mini_tdir.sh exe clang-analysis.tdir ; grep -e "warning:" -e "error:" result.clang-analysis
+  - cd testdata; ../testcode/mini_tdir.sh exe clang-analysis.tdir ; if grep -e "warning:" -e "error:" result.clang-analysis ; then exit 1; else exit 0; fi