aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-03-25 16:04:29 -0400
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-03-25 16:04:29 -0400
commit8e00b5fd24e8517aaf23247dd74aae0d0a4ed122 (patch)
tree9f09788ccc5c805ad00213085fec44e2329a8b59 /tests/Makefile.am
parent92c98f341c6b5600d4b5fae8753326c866e40860 (diff)
downloadayatana-indicator-sound-8e00b5fd24e8517aaf23247dd74aae0d0a4ed122.tar.gz
ayatana-indicator-sound-8e00b5fd24e8517aaf23247dd74aae0d0a4ed122.tar.bz2
ayatana-indicator-sound-8e00b5fd24e8517aaf23247dd74aae0d0a4ed122.zip
Remove old tests
They weren't built (SUBDIRS didn't include tests), and building them failed because they referenced either old files or gtk-specific stuff.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am150
1 files changed, 0 insertions, 150 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 574279f..8b13789 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,151 +1 @@
-check_PROGRAMS = \
- test-indicator-sound \
- test-pulse-manager \
- test-indicator-sound-dbus-client \
- test-indicator-sound-dbus-server
-
-TESTS = \
- test-indicator-sound \
- test-pulse-manager
-XTESTS_FAIL = $(TESTS)
-
-DISTCLEANFILES = $(TESTS)
-
-noinst_LTLIBRARIES = libmockpulse.la
-libmockpulse_la_SOURCES = mockpulse.c mockpulse.h
-libmockpulse_la_CFLAGS = $(PULSEAUDIO_CFLAGS)
-
-
-#########################################
-## test-indicator-sound
-#########################################
-test_indicator_sound_SOURCES = \
- test-indicator-sound.c \
- $(top_builddir)/src/indicator-sound.c
-
-test_indicator_sound_CFLAGS = \
- $(PULSEAUDIO_CFLAGS) \
- $(APPLET_CFLAGS) \
- -Wall -Werror \
- -I$(srcdir) \
- -DTOP_BUILD_DIR="\"${abs_top_builddir}\""
-
-test_indicator_sound_LDADD = \
- libmockpulse.la \
- $(PULSEAUDIO_LIBS) \
- $(APPLET_LIBS) \
- ../src/libsoundmenu.la
-
-
-#########################################
-## test-pulse-manager
-#########################################
-
-check_PROGRAMS += test-pulse-manager
-
-test_pulse_manager_SOURCES = \
- test-pulse-manager.c \
- $(top_builddir)/src/dbus-menu-manager.c \
- $(top_builddir)/src/sound-service-dbus.c \
- $(top_builddir)/src/gen-sound-service.xml.h \
- $(top_builddir)/src/gen-sound-service.xml.c \
- $(top_builddir)/src/slider-menu-item.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) \
- $(APPLET_LIBS)
-
-#########################################
-## test-indicator-sound-dbus-client
-#########################################
-test_indicator_sound_dbus_client_SOURCES = \
- test-defines.h \
- test-indicator-sound-dbus-client.c
-
-test_indicator_sound_dbus_client_CFLAGS = \
- $(PULSEAUDIO_CFLAGS) \
- $(SOUNDSERVICE_CFLAGS) \
- -Wall -Werror \
- -I$(srcdir) \
- -I$(SOUNDSERVICE_CFLAGS)
-
-test_indicator_sound_dbus_client_LDADD = \
- $(PULSEAUDIO_LIBS) \
- $(SOUNDSERVICE_LIBS)
-
-########################################
-# test-indicator-sound-dbus-server
-########################################
-test_indicator_sound_dbus_server_SOURCES = \
- test-defines.h \
- test-indicator-sound-dbus-server.c \
- $(top_builddir)/src/sound-service-dbus.c \
- $(top_builddir)/src/pulse-manager.c \
- $(top_builddir)/src/slider-menu-item.c \
- $(top_builddir)/src/dbus-menu-manager.c
-
-test_indicator_sound_dbus_server_CFLAGS = \
- $(SOUNDSERVICE_CFLAGS) \
- -Wall -Werror \
- -I$(srcdir)
-
-test_indicator_sound_dbus_server_LDADD = \
- $(SOUNDSERVICE_LIBS) \
- $(PULSEAUDIO_LIBS)
-
-
-#########################################
-## Actual tests
-#########################################
-
-XML_REPORT = indicator-sound-check-results.xml
-HTML_REPORT = indicator-sound-check-results.html
-
-indicator-sound-tests: indicator-sound-tests-gtester Makefile.am
- @echo "#!/bin/sh" > $@
- @echo $(DBUS_RUNNER) --task ./indicator-sound-tests-gtester >> $@
- @chmod +x $@
-
-indicator-sound-tests-gtester: test-indicator-sound Makefile.am
- @echo "#!/bin/sh" > $@
- @echo gtester -k --verbose -o=$(XML_REPORT) ./test-indicator-sound >> $@
- @chmod +x $@
-
-TESTS += indicator-sound-tests-gtester
-
-PULSE_XML_REPORT = pulse-manager-check-results.xml
-
-pulse-manager-tests-gtester: test-pulse-manager Makefile.am
- @echo "#!/bin/sh" > $@
- @echo gtester -k --verbose -o=$(PULSE_XML_REPORT) ./test-pulse-manager >> $@
- @chmod +x $@
-
-TESTS += pulse-manager-tests-gtester
-
-DISTCLEANFILES += $(XML_REPORT) $(PULSE_XML_REPORT) $(HTML_REPORT) indicator-sound-tests-gtester
-
-DBUS_RUNNER=dbus-test-runner --dbus-config /usr/share/dbus-test-runner/session.conf
-
-test-indicator-sound-dbus: test-indicator-sound-dbus-client test-indicator-sound-dbus-server Makefile.am
- @echo "#!/bin/sh" > test-indicator-sound-dbus
- @echo $(DBUS_RUNNER) --task ./test-indicator-sound-dbus-server --task-name Server --ignore-return >> test-indicator-sound-dbus --task ./test-indicator-sound-dbus-client --task-name Client
- @chmod +x test-indicator-sound-dbus
-
-TESTS += test-indicator-sound-dbus
-
-
-
-
-