[pygobject] Fail tests if they use or encounter deprecations
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] Fail tests if they use or encounter deprecations
- Date: Thu, 22 Mar 2012 09:34:39 +0000 (UTC)
commit 32525e565cc48454cdacbc44ad3fd751b81cb7e3
Author: Martin Pitt <martin pitt ubuntu com>
Date: Thu Mar 22 10:31:22 2012 +0100
Fail tests if they use or encounter deprecations
tests/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 3e00abd..e9f7e90 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -104,7 +104,7 @@ RUN_TESTS_ENV_VARS= \
check-local: check-pyflakes
check-local: $(LTLIBRARIES:.la=.so) Regress-1.0.typelib GIMarshallingTests-1.0.typelib gschemas.compiled
- $(RUN_TESTS_ENV_VARS) $(DBUS_LAUNCH) $(EXEC_NAME) $(PYTHON) $(srcdir)/runtests.py
+ $(RUN_TESTS_ENV_VARS) $(DBUS_LAUNCH) $(EXEC_NAME) $(PYTHON) -Wd -Werror::PendingDeprecationWarning -Werror::DeprecationWarning $(srcdir)/runtests.py
check-pyflakes:
@echo " CHECK Pyflakes"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]