~indicator-applet-developers/indicator-power/trunk.13.04

« back to all changes in this revision

Viewing changes to tests/Makefile.am

  • Committer: Charles Kerr
  • Date: 2012-05-24 14:49:30 UTC
  • mto: This revision was merged to the branch mainline in revision 142.
  • Revision ID: charles.kerr@canonical.com-20120524144930-ofjig1454nob4laz
add private container struct IndicatorPowerDevice

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
TESTS =
 
2
CLEANFILES =
 
3
check_PROGRAMS =
 
4
 
 
5
AM_CPPFLAGS = $(GTEST_CPPFLAGS) -I${top_srcdir}/src -Wall -Werror
 
6
AM_CXXFLAGS = $(GTEST_CXXFLAGS)
 
7
 
 
8
###
 
9
###
 
10
###
 
11
 
 
12
# stock UMB tests on user-visible strings
 
13
include $(srcdir)/Makefile.am.strings
 
14
 
 
15
###
 
16
###
 
17
###
 
18
 
 
19
TESTS += test-device
 
20
check_PROGRAMS += test-device
 
21
test_device_SOURCES = test-device.cc
 
22
test_device_LDADD = \
 
23
        $(top_builddir)/src/libpower.la \
 
24
        $(INDICATOR_LIBS) \
 
25
        $(UPOWER_LIBS) \
 
26
        $(COVERAGE_LDFLAGS) \
 
27
        libgtest.a
 
28
 
 
29
test_device_CPPFLAGS = \
 
30
        $(AM_CPPFLAGS) \
 
31
        $(UPOWER_CFLAGS) \
 
32
        $(INDICATOR_CFLAGS) \
 
33
        $(COVERAGE_CFLAGS)
 
34
 
 
35
check_LIBRARIES = libgtest.a
 
36
nodist_libgtest_a_SOURCES = \
 
37
  $(GTEST_SOURCE)/src/gtest-all.cc \
 
38
  $(GTEST_SOURCE)/src/gtest_main.cc