summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2017-12-21 08:55:17 -0800
committerPatrick Ohly <patrick.ohly@intel.com>2018-01-03 10:39:50 +0100
commit7e4bdb5b07098ab81f2d013ef276c58480e8eb77 (patch)
tree30b7555d97d46009cbf5dc5b58a4f5c00cee5066
parent60de1423aaa9b6f931acb278f70d7dde332575b4 (diff)
test: honor warning flags
Without them, --enable-warnings=fatal was ignored for the D-Bus test program, causing deprecation warnings about auto_ptr to be printed without aborting the build. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
-rw-r--r--test/test.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.am b/test/test.am
index 4e436fd3..384ad824 100644
--- a/test/test.am
+++ b/test/test.am
@@ -72,7 +72,7 @@ if COND_DBUS
noinst_PROGRAMS += test/dbus-client-server
test_dbus_client_server_SOURCES = test/dbus-client-server.cpp
test_dbus_client_server_CPPFLAGS = -I$(gdbus_dir) -I$(top_srcdir)/src
-test_dbus_client_server_CXXFLAGS = $(CPPUNIT_CFLAGS) $(SYNCEVOLUTION_CXXFLAGS) $(BACKEND_CPPFLAGS) $(DBUS_CFLAGS) $(GLIB_CFLAGS) $(GOBJECT_CFLAGS) $(PCRECPP_CFLAGS)
+test_dbus_client_server_CXXFLAGS = $(CPPUNIT_CFLAGS) $(SYNCEVOLUTION_CXXFLAGS) $(SYNCEVO_WFLAGS) $(BACKEND_CPPFLAGS) $(DBUS_CFLAGS) $(GLIB_CFLAGS) $(GOBJECT_CFLAGS) $(PCRECPP_CFLAGS)
test_dbus_client_server_LDFLAGS = $(CPPUNIT_LIBS)
test_dbus_client_server_LDADD = $(gdbus_build_dir)/libgdbussyncevo.la src/syncevo/libsyncevolution.la $(DBUS_LIBS) $(GLIB_LIBS) $(GOBJECT_LIBS) $(PCRECPP_LIBS) $(EXTRACORELDADD)
test_dbus_client_server_DEPENDENCIES = $(gdbus_build_dir)/libgdbussyncevo.la src/syncevo/libsyncevolution.la