~ted/indicator-application/upstart-job

« back to all changes in this revision

Viewing changes to tests/Makefile.am

  • Committer: Tarmac
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2012-12-18 20:22:45 UTC
  • mfrom: (236.1.1 indicator-application)
  • Revision ID: tarmac-20121218202245-wkeq4qqxrxmw2947
Indicator-application: removing the deprecated approver support.

Approved by Ted Gould, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
 
check_PROGRAMS = \
3
 
        test-approver
 
2
check_PROGRAMS =
4
3
 
5
4
TESTS =
6
5
DISTCLEANFILES = $(TESTS)
7
6
 
8
7
EXTRA_DIST = run-xvfb.sh
9
 
 
10
 
DBUS_RUNNER=dbus-test-runner --dbus-config /usr/share/dbus-test-runner/session.conf
11
 
 
12
 
#########################################
13
 
##  test-approver
14
 
#########################################
15
 
 
16
 
test_approver_SOURCES = \
17
 
        $(top_srcdir)/src/gen-notification-approver.xml.c \
18
 
        test-approver.c
19
 
 
20
 
test_approver_CFLAGS = \
21
 
        $(INDICATOR_CFLAGS) \
22
 
        $(APPINDICATOR_CFLAGS) \
23
 
        -Wall -Werror \
24
 
        -I$(top_srcdir)/src \
25
 
        -I$(top_builddir)/src
26
 
 
27
 
test_approver_LDADD = \
28
 
        $(INDICATOR_LIBS) \
29
 
        $(APPINDICATOR_LIBS)
30
 
 
31
 
test-approver-tester: test-approver Makefile.am
32
 
        @echo "#!/bin/bash" > $@
33
 
        @echo export INDICATOR_SERVICE_SHUTDOWN_TIMEOUT=1000 >> $@
34
 
        @echo . $(srcdir)/run-xvfb.sh >> $@
35
 
        @echo $(DBUS_RUNNER) --task $(builddir)/test-approver --task-name Approver --task $(top_builddir)/src/indicator-application-service --task-name Service --ignore-return >> $@
36
 
        @chmod +x $@
37
 
 
38
 
TESTS += test-approver-tester
39
 
 
40