aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMathieu Trudel-Lapierre <mathieu-tl@ubuntu.com>2013-01-10 15:44:25 -0500
committerMathieu Trudel-Lapierre <mathieu-tl@ubuntu.com>2013-01-10 15:44:25 -0500
commit39ec64fb84b26592e134cddb465b659d9ad553e3 (patch)
tree8ea0dc8ab1ebbd4860f117e5a3e085813f5d7f33 /tests
parentcb972ad5ba65378b17682c09915b7c9cb3b3aa9b (diff)
parent32c7a3f3a74a74543b8c33447261b103bb165f60 (diff)
downloadayatana-indicator-session-39ec64fb84b26592e134cddb465b659d9ad553e3.tar.gz
ayatana-indicator-session-39ec64fb84b26592e134cddb465b659d9ad553e3.tar.bz2
ayatana-indicator-session-39ec64fb84b26592e134cddb465b659d9ad553e3.zip
- Add XS-Testsuite: autopkgtest.
* debian/tests: - Add start-service test; verify that the indicator can be started from DBUS. - Add debian/tests/control. * Move TestCanStartService into a separate make target "localcheck"; so that the other tests can successfully run, and this one be used as an integration check.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 088b283..9f9f961 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -3,6 +3,9 @@ CLEANFILES =
BUILT_SOURCES =
check_PROGRAMS =
+localcheckdir = .
+localcheck_PROGRAMS =
+
###
###
###
@@ -29,8 +32,10 @@ gschemas.compiled: Makefile
$(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --targetdir=. .
-TESTS += test-service
-check_PROGRAMS += test-service
+localcheck:
+ ./test-service
+
+localcheck_PROGRAMS += test-service
test_service_SOURCES = test-service.cc
test_service_LDADD = \
$(TEST_SERVICE_LIBS) \