aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-02-25 14:12:05 +0000
committerConor Curran <conor.curran@canonical.com>2010-02-25 14:12:05 +0000
commita7952974571bf697b218cedacacd118e2e05e97e (patch)
tree3248095a6bd9d5bed5957fe3707e331c5dde2778 /tests/Makefile.am
parentc879c510dbef95deea70687d59c2013005bf946d (diff)
downloadayatana-indicator-sound-a7952974571bf697b218cedacacd118e2e05e97e.tar.gz
ayatana-indicator-sound-a7952974571bf697b218cedacacd118e2e05e97e.tar.bz2
ayatana-indicator-sound-a7952974571bf697b218cedacacd118e2e05e97e.zip
fixes
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am36
1 files changed, 34 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 05e1bd0..dadc1e4 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -10,14 +10,46 @@ DISTCLEANFILES = $(TESTS)
#########################################
test_indicator_sound_SOURCES = \
test-indicator-sound.c
-
+
test_indicator_sound_CFLAGS = \
$(APPLET_CFLAGS) \
-Wall -Werror \
-I$(srcdir) \
- -DBUILD_DIR="\"$(builddir)\""
+ -DBUILD_DIR="\"$(INDICATORDIR)"\"
test_indicator_sound_LDADD = \
$(APPLET_LIBS) \
$(INDICATORDIR)/libsoundmenu.la
+#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-client --task-name Client --task ./test-indicator-sound-dbus-server --task-name Server --ignore-return >> test-indicator-sound-dbus
+# @chmod +x test-libappindicator-dbus
+
+#TESTS += test-libappindicator-dbus
+
+XVFB_RUN=". $(srcdir)/run-xvfb.sh"
+
+EXTRA_DIST = run-xvfb.sh
+
+
+#############################
+# Test stuff
+#############################
+
+#XML_REPORT = loader-check-results.xml
+#HTML_REPORT = loader-check-results.html
+
+#loader-tester: test-loader libsoundmenu.la Makefile
+# @echo "#!/bin/bash" > loader-tester
+# @echo $(XVFB_RUN) >> $@
+# @echo gtester -k --verbose -o=$(XML_REPORT) ./test-loader >> loader-tester
+# @chmod +x loader-tester
+
+#TESTS += loader-tester
+#DISTCLEANFILES += loader-tester
+
+#DISTCLEANFILES += $(XML_REPORT) $(HTML_REPORT)
+