From 5a8da0022af0de5cf65abdc9fdfdbe3691335691 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Fri, 24 Jan 2020 17:00:06 +0100 Subject: [PATCH] tests: Make warnings fatal in PAM tests This will catch problems with GLib being unloaded when the PAM module is unloaded, which would have crashed when using dbus-glib. This serves as a test for https://gitlab.freedesktop.org/libfprint/fprintd/issues/2 Closes: #2 --- tests/pam/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pam/Makefile.am b/tests/pam/Makefile.am index 77b53de..3bf9597 100644 --- a/tests/pam/Makefile.am +++ b/tests/pam/Makefile.am @@ -1,6 +1,6 @@ SUBDIRS = services -TESTS_ENVIRONMENT = export TOPBUILDDIR=$(abs_top_builddir); export TOPSRCDIR=$(abs_top_srcdir); export LD_PRELOAD=libpam_wrapper.so; export PAM_WRAPPER_SERVICE_DIR=$(abs_top_builddir)/tests/pam/services; export PAM_WRAPPER=1; export PYTHON=@PYTHON@; +TESTS_ENVIRONMENT = export TOPBUILDDIR=$(abs_top_builddir); export TOPSRCDIR=$(abs_top_srcdir); export LD_PRELOAD=libpam_wrapper.so; export PAM_WRAPPER_SERVICE_DIR=$(abs_top_builddir)/tests/pam/services; export PAM_WRAPPER=1; export PYTHON=@PYTHON@; export G_DEBUG=fatal_warnings; TESTS = test_pam_fprintd.py EXTRA_DIST = $(TESTS)