From 2e85d8a7db825a7aef087710abe8159a716df6c7 Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Tue, 9 Mar 2010 09:24:36 +1100 Subject: snapshot closer-to-building. --- tests/Makefile.am | 34 +++++++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) (limited to 'tests/Makefile.am') diff --git a/tests/Makefile.am b/tests/Makefile.am index bbae7fe..7573ea5 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -4,11 +4,13 @@ check_PROGRAMS = \ test-indicator-sound-dbus-client \ test-indicator-sound-dbus-server -TESTS = test-indicator-sound +TESTS = \ + test-indicator-sound \ + test-pulse-manager DISTCLEANFILES = $(TESTS) noinst_LTLIBRARIES = libmockpulse.la -libmockpulse_la_SOURCES = mockpulse.c +libmockpulse_la_SOURCES = mockpulse.c mockpulse.h libmockpulse_la_CFLAGS = $(PULSEAUDIO_CFLAGS) @@ -45,10 +47,9 @@ test_indicator_sound_dbus_client_CFLAGS = \ $(SOUNDSERVICE_CFLAGS) \ -Wall -Werror \ -I$(srcdir) \ - -I$(SOUNDSERVICE_CFLAGS) + -I$(SOUNDSERVICE_CFLAGS) test_indicator_sound_dbus_client_LDADD = \ - libmockpulse.la \ $(PULSEAUDIO_LIBS) \ $(SOUNDSERVICE_LIBS) @@ -69,9 +70,32 @@ test_indicator_sound_dbus_server_CFLAGS = \ -I$(srcdir) test_indicator_sound_dbus_server_LDADD = \ - $(SOUNDSERVICE_LIBS) \ + $(SOUNDSERVICE_LIBS) \ $(PULSEAUDIO_LIBS) +######################################### +## test-pulse-manager +######################################### + +check_PROGRAMS += test-pulse-manager + +test_pulse_manager_SOURCES = \ + test-pulse-manager.c + +test_pulse_manager_CFLAGS = \ + $(PULSEAUDIO_CFLAGS) \ + $(SOUNDSERVICE_CFLAGS) \ + $(GCONF_CFLAGS) \ + -Wall -Werror \ + -I$(srcdir) \ + -I$(SOUNDSERVICE_CFLAGS) + +test_pulse_manager_LDADD = \ + libmockpulse.la \ + $(PULSEAUDIO_LIBS) \ + $(SOUNDSERVICE_LIBS) \ + $(GCONF_LIBS) + ######################################### ## Actual tests -- cgit v1.2.3