~oif-packaging/geis/precise

« back to all changes in this revision

Viewing changes to testsuite/geis2/Makefile.am

  • Committer: Francis Ginther
  • Date: 2012-08-16 13:43:15 UTC
  • mfrom: (49.1.37)
  • Revision ID: francis.ginther@canonical.com-20120816134315-ex9m75nqcv0uryim
* New upstream release.
  - fixes pinch radius and drag delta calculations (lp: #985916)
    (lp: #986215)
  - changes type of geisSubscriptionFlags (lp: #813819)
  - changes direct devices to use window coordinates (lp: #984069)
  - reports device axis extents, if available (lp: #987539)
  - removes XCB back end
  - removes overlapping events when a gesture is accepted (lp: #1001365)
  - avoids trying to start a DBus session if there is none already
    (lp: #997630)
  - detect added devices properly (LP: #1009270)
  - fix crash when accepting a gesture (LP: #1015775)
  - fix result value of geis_subscription_deactivate() (LP: #1021448)
  - upstream project renamed to just 'geis'

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
 
# @file testsuite/geis1/Makefile.am 
3
 
# @brief automake recipe for the geis v1.0 testsuite unit testing directory
 
2
# @file testsuite/geis2/Makefile.am 
 
3
# @brief automake recipe for the geis v2.0 testsuite testing directory
4
4
#
5
5
 
6
6
test_targets = 
 
7
 
 
8
##### check_geis2_api - Tests using Check C testing framework #####
 
9
 
7
10
if HAVE_CHECK
8
11
  test_targets += check_geis2_api
9
12
endif
10
 
if ENABLE_INTEGRATION_TESTS
11
 
  test_targets += gtest_geis2_api
12
 
endif
13
 
 
14
 
TESTS = $(test_targets)
15
 
 
16
 
check_PROGRAMS = $(test_targets)
17
13
 
18
14
check_geis2_api_SOURCES = \
19
15
        check_attr.c \
35
31
        -Wno-unused -Wno-unused-function -Wno-unused-but-set-variable \
36
32
        -I$(top_srcdir) \
37
33
        -I$(top_srcdir)/include \
38
 
        -I$(top_srcdir)/libutouch-geis \
 
34
        -I$(top_srcdir)/libgeis \
39
35
        $(CHECK_CFLAGS)
40
36
 
41
37
check_geis2_api_LDADD = \
42
 
        $(top_builddir)/libutouch-geis/libutouch-geis.la \
 
38
        $(top_builddir)/libgeis/libgeis.la \
43
39
        $(CHECK_LIBS)
44
40
 
 
41
#### gtest_geis2_grail_backend - Test for the GRAIL backend of Geis v2 API #####
 
42
####                             using gtest                               #####
 
43
 
 
44
if HAVE_GTEST
 
45
  test_targets += gtest_geis2_grail_backend
 
46
endif
 
47
 
 
48
gtest_geis2_grail_backend_SOURCES = \
 
49
        gtest_grail_backend.h gtest_grail_backend.cpp \
 
50
        gtest_gbe_accept_ended_grail_gesture.cpp \
 
51
        gtest_gbe_deactivate_sub.cpp \
 
52
        gtest_gbe_direct_touch_coords.cpp \
 
53
        gtest_gbe_outdated_events.cpp
 
54
 
 
55
gtest_geis2_grail_backend_CPPFLAGS = \
 
56
        --std=c++0x \
 
57
        -I$(top_srcdir) \
 
58
        -I$(top_srcdir)/include \
 
59
        -I$(top_srcdir)/libgeis \
 
60
        -I$(top_srcdir)/testsuite/gtest \
 
61
        -I$(top_srcdir)/testsuite/x11_mocks \
 
62
        -DTEST_ROOT_DIR=\"$(abs_top_srcdir)/testsuite/\"
 
63
        $(GTEST_CFLAGS)
 
64
 
 
65
gtest_geis2_grail_backend_LDFLAGS = \
 
66
        -export-dynamic
 
67
 
 
68
gtest_geis2_grail_backend_LDADD = \
 
69
        $(top_builddir)/testsuite/gtest/libgtest_geis.a \
 
70
        $(top_builddir)/testsuite/x11_mocks/libx11_mocks.a \
 
71
        $(top_builddir)/libgeis/libgeis.la \
 
72
        $(GTEST_LIBS)
 
73
 
 
74
#### gtest_geis2_api - Integration tests using xorg-gest and evemu #####
 
75
 
 
76
if ENABLE_INTEGRATION_TESTS
 
77
  test_targets += gtest_geis2_api
 
78
endif
 
79
 
45
80
gtest_geis2_api_SOURCES = \
46
81
        gtest_attrs.cpp \
47
82
        gtest_devices.cpp \
54
89
        --std=c++0x \
55
90
        -I$(top_srcdir) \
56
91
        -I$(top_srcdir)/include \
57
 
        -I$(top_srcdir)/libutouch-geis \
 
92
        -I$(top_srcdir)/libgeis \
58
93
        -I$(top_srcdir)/testsuite/gtest \
59
94
        -DTEST_ROOT_DIR=\"$(abs_top_srcdir)/testsuite/\"
60
95
        $(GTEST_CFLAGS) \
63
98
 
64
99
gtest_geis2_api_LDADD = \
65
100
        $(top_builddir)/testsuite/gtest/libgtest_geis.a \
66
 
        $(top_builddir)/libutouch-geis/libutouch-geis.la \
 
101
        $(top_builddir)/libgeis/libgeis.la \
67
102
        $(XORG_GTEST_LIBS) \
68
103
        $(EVEMU_LIBS) \
69
104
        $(XI2_LIBS)
72
107
        geis2_api.log \
73
108
        geis2_api.xml
74
109
 
 
110
TESTS = $(test_targets)
 
111
check_PROGRAMS = $(test_targets)