[gjs: 4/5] CI: Don't run CI with -Werror



commit 9141f84780111ae1d04f8bcca6e72d1eac9b7e3f
Author: Philip Chimento <philip chimento gmail com>
Date:   Tue Mar 27 23:26:48 2018 -0700

    CI: Don't run CI with -Werror
    
    Use --enable-compile-warnings=yes instead of =error so that we don't fail
    the build in case of new warnings popping up because of a new version of
    the compiler. (In this case, the warnings are in the installed regression
    test sources from gobject-introspection, so they can't be fixed
    directly in GJS. In another case, we had new warnings from GCC 8 in GLib
    headers.)

 test/extra/do_jhbuild.sh | 2 +-
 test/test-ci.sh          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/test/extra/do_jhbuild.sh b/test/extra/do_jhbuild.sh
index 031f5e68..78195b6a 100755
--- a/test/extra/do_jhbuild.sh
+++ b/test/extra/do_jhbuild.sh
@@ -36,7 +36,7 @@ function do_Configure_MainBuild(){
     echo '-- Set Main JHBuild Configuration --'
 
     mkdir -p ~/.config
-    autogenargs="--enable-compile-warnings=error --with-xvfb-tests"
+    autogenargs="--enable-compile-warnings=yes --with-xvfb-tests"
 
     if [[ -n "${BUILD_OPTS}" ]]; then
         autogenargs="$autogenargs $BUILD_OPTS"
diff --git a/test/test-ci.sh b/test/test-ci.sh
index 9278c93b..23599526 100755
--- a/test/test-ci.sh
+++ b/test/test-ci.sh
@@ -158,7 +158,7 @@ if [[ $1 == "GJS" ]]; then
 
         jhbuild make --check
     else
-        export AM_DISTCHECK_CONFIGURE_FLAGS="--enable-compile-warnings=error --with-xvfb-tests"
+        export AM_DISTCHECK_CONFIGURE_FLAGS="--enable-compile-warnings=yes --with-xvfb-tests"
 
         # Regular (autotools only) build
         echo "Autogen options: $ci_autogenargs"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]