~unity8-desktop-session-team/indicator-session/indicator-session-using-upstart

« back to all changes in this revision

Viewing changes to tests/Makefile.am

  • Committer: Charles Kerr
  • Date: 2012-04-26 19:34:38 UTC
  • mto: (254.1.5 gtest)
  • mto: This revision was merged to the branch mainline in revision 255.
  • Revision ID: charles.kerr@canonical.com-20120426193438-3emnu0c1wuvjzuo8
add scaffolding for indicator-session-service Google Testing with libdbustest

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
AM_CPPFLAGS = $(GTEST_CPPFLAGS) $(SESSIONSERVICE_CFLAGS) $(LIBDBUSTEST_CFLAGS) -I${top_srcdir}/src -Wall -Werror
 
2
AM_CXXFLAGS = $(GTEST_CXXFLAGS)
 
3
 
 
4
check_PROGRAMS = test-service
 
5
test_service_SOURCES = test-service.cc
 
6
test_service_LDADD = $(SESSIONSERVICE_LIBS) $(LIBDBUSTEST_LIBS) libgtest.a
 
7
 
 
8
check_LIBRARIES = libgtest.a
 
9
nodist_libgtest_a_SOURCES = \
 
10
        $(GTEST_SOURCE)/src/gtest-all.cc \
 
11
        $(GTEST_SOURCE)/src/gtest_main.cc
 
12
 
 
13
check_SCRIPTS = test-service-runner.sh
 
14
test-service-runner.sh: Makefile.am
 
15
        @echo "#!/bin/sh" > $@
 
16
        @echo $(top_builddir)/tests/test-service $(top_builddir)/src/indicator-session-service$(EXEEXT) 2\>/dev/null >> $@
 
17
        @chmod +x $@
 
18
 
 
19
TESTS = ${check_SCRIPTS}