[pygobject] tests: Fix warning behaviour



commit 1ca0e142709843cdae9ca965dfa6cc292ef53ab5
Author: Martin Pitt <martinpitt gnome org>
Date:   Tue Feb 26 10:09:47 2013 +0100

    tests: Fix warning behaviour
    
    -Werror::* does not seem to do what it says on the tin, these options are
    ignored entirely apparently. Just keep -Wd to actually show all warnings
    including DeprecationWarning, which is hidden by default.

 tests/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 287542d..263e533 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -138,7 +138,7 @@ check-local: $(LTLIBRARIES:.la=.so) $(test_typelibs) gschemas.compiled
                if type pep8 >/dev/null 2>&1; then pep8 --ignore=E501,E123,E124 --repeat --show-source 
$(top_srcdir); else echo "skipped, pep8 not installed"; fi; \
        fi
        export `$(DBUS_LAUNCH)` && \
-       $(RUN_TESTS_ENV_VARS) $(EXEC_NAME) $(PYTHON) -Wd -Werror::PendingDeprecationWarning 
-Werror::DeprecationWarning -Werror::RuntimeWarning $(srcdir)/runtests.py; rc=$$?; \
+       $(RUN_TESTS_ENV_VARS) $(EXEC_NAME) $(PYTHON) -Wd $(srcdir)/runtests.py; rc=$$?; \
        [ "$$rc" -ne 0 ] || [ -n "$$TEST_NAMES" ] || { TEST_NAMES=compat_test_pygtk $(RUN_TESTS_ENV_VARS) 
$(EXEC_NAME) $(PYTHON) -Wd -Werror::PendingDeprecationWarning -Werror::DeprecationWarning 
-Werror::RuntimeWarning $(srcdir)/runtests.py; rc=$$?; }; \
        kill $$DBUS_SESSION_BUS_PID; \
        exit $$rc


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