summaryrefslogtreecommitdiff
path: root/tools/ci/jobs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-26 02:23:11 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-26 02:23:11 +0300
commit9a76fdcf9637e9e9fe68843701c1f7abff40bcd3 (patch)
tree05551a105b60a0119aa0f23ab3def53cb674e778 /tools/ci/jobs
parent1d13723e0a42a770aa4d421c9786d1429ab8d125 (diff)
downloadmv-9a76fdcf9637e9e9fe68843701c1f7abff40bcd3.tar.gz
mv-9a76fdcf9637e9e9fe68843701c1f7abff40bcd3.tar.bz2
mv-9a76fdcf9637e9e9fe68843701c1f7abff40bcd3.tar.xz
mv-9a76fdcf9637e9e9fe68843701c1f7abff40bcd3.zip
Add into ci scripts --enable-werror and remove check for warnings.
This can fix false positives if compiler or make start creating useless lines with dots in output.
Diffstat (limited to 'tools/ci/jobs')
-rwxr-xr-xtools/ci/jobs/clang3.sh3
-rwxr-xr-xtools/ci/jobs/clang34.sh3
-rwxr-xr-xtools/ci/jobs/clang35.sh3
-rwxr-xr-xtools/ci/jobs/clang39.sh3
-rwxr-xr-xtools/ci/jobs/clang39_sdl2.sh3
-rwxr-xr-xtools/ci/jobs/gcc44.sh3
-rwxr-xr-xtools/ci/jobs/gcc46.sh3
-rwxr-xr-xtools/ci/jobs/gcc47.sh3
-rwxr-xr-xtools/ci/jobs/gcc48_c++11.sh3
-rwxr-xr-xtools/ci/jobs/gcc49.sh3
-rwxr-xr-xtools/ci/jobs/gcc49_c++11.sh3
-rwxr-xr-xtools/ci/jobs/gcc5.sh3
-rwxr-xr-xtools/ci/jobs/gcc5_c++11.sh3
-rwxr-xr-xtools/ci/jobs/gcc5_lto.sh3
-rwxr-xr-xtools/ci/jobs/gcc5_sanitize.sh3
-rwxr-xr-xtools/ci/jobs/gcc5_sanitize_tests.sh1
-rwxr-xr-xtools/ci/jobs/gcc5_sdl2.sh3
-rwxr-xr-xtools/ci/jobs/gcc5_sdl2_c++11.sh3
-rwxr-xr-xtools/ci/jobs/gcc5_sdl2_tests.sh1
-rwxr-xr-xtools/ci/jobs/gcc5_tarball.sh5
-rwxr-xr-xtools/ci/jobs/gcc5_tests.sh1
-rwxr-xr-xtools/ci/jobs/gccsnapshot.sh3
-rwxr-xr-xtools/ci/jobs/gccsnapshot_sdl2.sh3
23 files changed, 21 insertions, 44 deletions
diff --git a/tools/ci/jobs/clang3.sh b/tools/ci/jobs/clang3.sh
index 65fbb3ece..93c80d5ba 100755
--- a/tools/ci/jobs/clang3.sh
+++ b/tools/ci/jobs/clang3.sh
@@ -12,9 +12,8 @@ aptget_install clang libc++-dev \
libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev
do_init
-run_configure
+run_configure --enable-werror
run_make
-run_check_warnings
source ./tools/ci/scripts/exit.sh
diff --git a/tools/ci/jobs/clang34.sh b/tools/ci/jobs/clang34.sh
index 7ae75d3b4..e441e5c92 100755
--- a/tools/ci/jobs/clang34.sh
+++ b/tools/ci/jobs/clang34.sh
@@ -14,9 +14,8 @@ aptget_install clang-3.4 libc++-dev \
export CXXFLAGS="-stdlib=libc++"
do_init
-run_configure
+run_configure --enable-werror
run_make
-run_check_warnings
source ./tools/ci/scripts/exit.sh
diff --git a/tools/ci/jobs/clang35.sh b/tools/ci/jobs/clang35.sh
index 9c8a1b79a..65e8819bb 100755
--- a/tools/ci/jobs/clang35.sh
+++ b/tools/ci/jobs/clang35.sh
@@ -14,9 +14,8 @@ aptget_install clang-3.5 libc++-dev \
export CXXFLAGS="-stdlib=libc++"
do_init
-run_configure
+run_configure --enable-werror
run_make
-run_check_warnings
source ./tools/ci/scripts/exit.sh
diff --git a/tools/ci/jobs/clang39.sh b/tools/ci/jobs/clang39.sh
index 46b35a5b7..fec61abfb 100755
--- a/tools/ci/jobs/clang39.sh
+++ b/tools/ci/jobs/clang39.sh
@@ -21,9 +21,8 @@ export CXXFLAGS="-Weverything -Wno-documentation -Wno-padded -Wno-sign-conversio
-Wno-old-style-cast"
do_init
-run_configure $*
+run_configure --enable-werror $*
run_make
-run_check_warnings
source ./tools/ci/scripts/exit.sh
diff --git a/tools/ci/jobs/clang39_sdl2.sh b/tools/ci/jobs/clang39_sdl2.sh
index 6fdd78b19..f9c22db73 100755
--- a/tools/ci/jobs/clang39_sdl2.sh
+++ b/tools/ci/jobs/clang39_sdl2.sh
@@ -21,9 +21,8 @@ export CXXFLAGS="-Weverything -Wno-documentation -Wno-padded -Wno-sign-conversio
-Wno-old-style-cast"
do_init
-run_configure --with-sdl2 $*
+run_configure --enable-werror --with-sdl2 $*
run_make
-run_check_warnings
source ./tools/ci/scripts/exit.sh
diff --git a/tools/ci/jobs/gcc44.sh b/tools/ci/jobs/gcc44.sh
index c2ea9ee8a..e70ad8fe3 100755
--- a/tools/ci/jobs/gcc44.sh
+++ b/tools/ci/jobs/gcc44.sh
@@ -12,9 +12,8 @@ aptget_install gcc-4.4 g++-4.4 \
libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev
do_init
-run_configure
+run_configure --enable-werror
run_make
-run_check_warnings
source ./tools/ci/scripts/exit.sh
diff --git a/tools/ci/jobs/gcc46.sh b/tools/ci/jobs/gcc46.sh
index 874acca94..965dfd119 100755
--- a/tools/ci/jobs/gcc46.sh
+++ b/tools/ci/jobs/gcc46.sh
@@ -12,9 +12,8 @@ aptget_install gcc-4.6 g++-4.6 \
libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev
do_init
-run_configure
+run_configure --enable-werror
run_make
-run_check_warnings
source ./tools/ci/scripts/exit.sh
diff --git a/tools/ci/jobs/gcc47.sh b/tools/ci/jobs/gcc47.sh
index f23058459..c77009f78 100755
--- a/tools/ci/jobs/gcc47.sh
+++ b/tools/ci/jobs/gcc47.sh
@@ -12,9 +12,8 @@ aptget_install gcc-4.7 g++-4.7 \
libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev
do_init
-run_configure
+run_configure --enable-werror
run_make
-run_check_warnings
source ./tools/ci/scripts/exit.sh
diff --git a/tools/ci/jobs/gcc48_c++11.sh b/tools/ci/jobs/gcc48_c++11.sh
index 752d7cc23..90490f8a0 100755
--- a/tools/ci/jobs/gcc48_c++11.sh
+++ b/tools/ci/jobs/gcc48_c++11.sh
@@ -39,9 +39,8 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \
-Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable"
do_init
-run_configure
+run_configure --enable-werror
run_make
-run_check_warnings
source ./tools/ci/scripts/exit.sh
diff --git a/tools/ci/jobs/gcc49.sh b/tools/ci/jobs/gcc49.sh
index ccdab39ae..007ba3293 100755
--- a/tools/ci/jobs/gcc49.sh
+++ b/tools/ci/jobs/gcc49.sh
@@ -14,9 +14,8 @@ aptget_install gcc-4.9 g++-4.9 \
export CXXFLAGS="-fno-var-tracking"
do_init
-run_configure $*
+run_configure --enable-werror $*
run_make
-run_check_warnings
source ./tools/ci/scripts/exit.sh
diff --git a/tools/ci/jobs/gcc49_c++11.sh b/tools/ci/jobs/gcc49_c++11.sh
index 6310587aa..2ff8b6477 100755
--- a/tools/ci/jobs/gcc49_c++11.sh
+++ b/tools/ci/jobs/gcc49_c++11.sh
@@ -40,9 +40,8 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \
-fno-var-tracking -Woverloaded-virtual"
do_init
-run_configure
+run_configure --enable-werror
run_make
-run_check_warnings
source ./tools/ci/scripts/exit.sh
diff --git a/tools/ci/jobs/gcc5.sh b/tools/ci/jobs/gcc5.sh
index 2d6f44ad6..ff04f9747 100755
--- a/tools/ci/jobs/gcc5.sh
+++ b/tools/ci/jobs/gcc5.sh
@@ -46,9 +46,8 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \
-Wno-variadic-macros -Wno-zero-as-null-pointer-constant"
do_init
-run_configure $*
+run_configure --enable-werror $*
run_make
-run_check_warnings
source ./tools/ci/scripts/exit.sh
diff --git a/tools/ci/jobs/gcc5_c++11.sh b/tools/ci/jobs/gcc5_c++11.sh
index a358820d0..86bf0d470 100755
--- a/tools/ci/jobs/gcc5_c++11.sh
+++ b/tools/ci/jobs/gcc5_c++11.sh
@@ -45,9 +45,8 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \
-Wlogical-not-parentheses -Woverloaded-virtual"
do_init
-run_configure $*
+run_configure --enable-werror $*
run_make
-run_check_warnings
source ./tools/ci/scripts/exit.sh
diff --git a/tools/ci/jobs/gcc5_lto.sh b/tools/ci/jobs/gcc5_lto.sh
index 62e559cab..b60f38ef4 100755
--- a/tools/ci/jobs/gcc5_lto.sh
+++ b/tools/ci/jobs/gcc5_lto.sh
@@ -45,9 +45,8 @@ export CXXFLAGS="-ggdb3 -pipe -ffast-math -O9 -flto -fwhole-program \
-Wlogical-not-parentheses -Woverloaded-virtual"
do_init
-run_configure
+run_configure --enable-werror
run_make
-run_check_warnings
source ./tools/ci/scripts/exit.sh
diff --git a/tools/ci/jobs/gcc5_sanitize.sh b/tools/ci/jobs/gcc5_sanitize.sh
index 1946e8cb0..624968ea2 100755
--- a/tools/ci/jobs/gcc5_sanitize.sh
+++ b/tools/ci/jobs/gcc5_sanitize.sh
@@ -54,9 +54,8 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \
-Wreturn-type -Wsequence-point -Wswitch"
do_init
-run_configure
+run_configure --enable-werror
run_make
-run_check_warnings
source ./tools/ci/scripts/exit.sh
diff --git a/tools/ci/jobs/gcc5_sanitize_tests.sh b/tools/ci/jobs/gcc5_sanitize_tests.sh
index f6b863afc..18e29e7ad 100755
--- a/tools/ci/jobs/gcc5_sanitize_tests.sh
+++ b/tools/ci/jobs/gcc5_sanitize_tests.sh
@@ -58,7 +58,6 @@ run_configure --enable-unittests=yes
export SDL_VIDEODRIVER=dummy
export ASAN_OPTIONS=detect_leaks=0
run_make check
-#run_check_warnings
source ./tools/ci/scripts/exit.sh
diff --git a/tools/ci/jobs/gcc5_sdl2.sh b/tools/ci/jobs/gcc5_sdl2.sh
index 835211cf1..8203459fe 100755
--- a/tools/ci/jobs/gcc5_sdl2.sh
+++ b/tools/ci/jobs/gcc5_sdl2.sh
@@ -47,9 +47,8 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \
-Wno-variadic-macros -Wno-zero-as-null-pointer-constant"
do_init
-run_configure --with-sdl2 $*
+run_configure --enable-werror --with-sdl2 $*
run_make
-run_check_warnings
source ./tools/ci/scripts/exit.sh
diff --git a/tools/ci/jobs/gcc5_sdl2_c++11.sh b/tools/ci/jobs/gcc5_sdl2_c++11.sh
index 7c27a853e..b5809d0dd 100755
--- a/tools/ci/jobs/gcc5_sdl2_c++11.sh
+++ b/tools/ci/jobs/gcc5_sdl2_c++11.sh
@@ -46,9 +46,8 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \
-Wlogical-not-parentheses"
do_init
-run_configure --with-sdl2 $*
+run_configure --enable-werror --with-sdl2 $*
run_make
-run_check_warnings
source ./tools/ci/scripts/exit.sh
diff --git a/tools/ci/jobs/gcc5_sdl2_tests.sh b/tools/ci/jobs/gcc5_sdl2_tests.sh
index 1efd6cddf..36bce38cd 100755
--- a/tools/ci/jobs/gcc5_sdl2_tests.sh
+++ b/tools/ci/jobs/gcc5_sdl2_tests.sh
@@ -48,7 +48,6 @@ do_init
run_configure --with-sdl2 --enable-unittests=yes
export SDL_VIDEODRIVER=dummy
run_make check
-#run_check_warnings
source ./tools/ci/scripts/exit.sh
diff --git a/tools/ci/jobs/gcc5_tarball.sh b/tools/ci/jobs/gcc5_tarball.sh
index f6d12107f..508e8f307 100755
--- a/tools/ci/jobs/gcc5_tarball.sh
+++ b/tools/ci/jobs/gcc5_tarball.sh
@@ -45,11 +45,10 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \
-Wlogical-not-parentheses -Woverloaded-virtual"
do_init
-run_configure
+run_configure --enable-werror
run_tarball test
-run_configure
+run_configure --enable-werror
run_make
-run_check_warnings
source ./tools/ci/scripts/exit.sh
diff --git a/tools/ci/jobs/gcc5_tests.sh b/tools/ci/jobs/gcc5_tests.sh
index 1a002e45a..c0cf89176 100755
--- a/tools/ci/jobs/gcc5_tests.sh
+++ b/tools/ci/jobs/gcc5_tests.sh
@@ -48,7 +48,6 @@ do_init
run_configure --enable-unittests=yes
export SDL_VIDEODRIVER=dummy
run_make check
-#run_check_warnings
source ./tools/ci/scripts/exit.sh
diff --git a/tools/ci/jobs/gccsnapshot.sh b/tools/ci/jobs/gccsnapshot.sh
index 1204411da..cc6e67a6f 100755
--- a/tools/ci/jobs/gccsnapshot.sh
+++ b/tools/ci/jobs/gccsnapshot.sh
@@ -323,9 +323,8 @@ export CXXFLAGS="${CXXFLAGS} -Wzero-as-null-pointer-constant"
#export CXXFLAGS="${CXXFLAGS} -frequire-return-statement"
do_init
-run_configure
+run_configure --enable-werror
run_make
-run_check_warnings
source ./tools/ci/scripts/exit.sh
diff --git a/tools/ci/jobs/gccsnapshot_sdl2.sh b/tools/ci/jobs/gccsnapshot_sdl2.sh
index 6cb3b20ec..82f0b0bff 100755
--- a/tools/ci/jobs/gccsnapshot_sdl2.sh
+++ b/tools/ci/jobs/gccsnapshot_sdl2.sh
@@ -326,9 +326,8 @@ export CXXFLAGS="${CXXFLAGS} -Wzero-as-null-pointer-constant"
#export CXXFLAGS="${CXXFLAGS} -frequire-return-statement"
do_init
-run_configure --with-sdl2
+run_configure --enable-werror --with-sdl2
run_make
-run_check_warnings
source ./tools/ci/scripts/exit.sh