summaryrefslogtreecommitdiff
path: root/tools/ci
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-09 16:33:07 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-09 16:33:07 +0300
commitc0644c6da7fd1da215305bc30a78f33bdf5633c0 (patch)
tree5d3d0cc70e9a78d31e75c8cee17ed2ce5d135107 /tools/ci
parentf4dccdfaff5ea097a4a6cac3fc4e02181d3c5983 (diff)
downloadplus-c0644c6da7fd1da215305bc30a78f33bdf5633c0.tar.gz
plus-c0644c6da7fd1da215305bc30a78f33bdf5633c0.tar.bz2
plus-c0644c6da7fd1da215305bc30a78f33bdf5633c0.tar.xz
plus-c0644c6da7fd1da215305bc30a78f33bdf5633c0.zip
In ci deheader scripts trigger error if any file compilation failed.
Diffstat (limited to 'tools/ci')
-rwxr-xr-xtools/ci/scripts/deheader.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ci/scripts/deheader.sh b/tools/ci/scripts/deheader.sh
index b1a335c71..2cd3433d4 100755
--- a/tools/ci/scripts/deheader.sh
+++ b/tools/ci/scripts/deheader.sh
@@ -20,7 +20,7 @@ ${dir}/deheader -q -i "\"debug.h\"" \
-c "$CXX" \
-d "$FLAGS" \
-s "-std=gnu++1z" \
--m "-c -Werror -Wall -Wextra -Wundef -Wmissing-declarations -DLOCALEDIR=\\\"\\\" -I/usr/include $INCLUDES -I${dir}/src" $1 | \
+-m "-c -Werror -Wall -Wextra -Wundef -Wmissing-declarations -DLOCALEDIR=\\\"\\\" -I/usr/include $INCLUDES -I${dir}/src" $1 2>&1 | \
grep -v "deheader: ./src/net/sdltcpnet.cpp has more than one inclusion of <netinet/tcp.h>" | \
grep -v "deheader: remove <netinet/tcp.h> from ./src/net/sdltcpnet.cpp" | \
grep -v "portability requires" | \