~ubuntu-branches/ubuntu/maverick/gnome-keyring/maverick

« back to all changes in this revision

Viewing changes to tests/gtest.make

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2010-09-01 12:54:04 UTC
  • mfrom: (1.1.64 upstream)
  • Revision ID: james.westby@ubuntu.com-20100901125404-3d96lh3oo4karbv3
Tags: 2.92.92.is.2.31.91-0ubuntu1
* New upstream release
* debian/control:
  - Drop build-depends on libgconf2-dev
  - Build-depend on dh-autoreconf, gnome-common
* debian/rules:
  - Use autoreconf.mk
* debian/gnome-keyring.install:
  - No longer provides a gconf schema
* debian/libgcr0.symbols:
  - Updated
* debian/patches/90_git_pam_headers.patch:
  - Fix incorrect PAM header check
* debian/patches/05_login_unlock_string.patch:
* debian/patches/90_git_keyring_encoding.patch:
  - Applied upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
# The following need to be declared before this file is included:
3
 
#   UNIT_AUTO     A list of C files with tests
4
 
#   UNIT_PROMPT   A list of C files with prompting tests
5
 
#   UNIT_LIBS     Libraries to link the tests to
6
 
 
7
 
# ------------------------------------------------------------------------------
8
 
 
9
 
INCLUDES=                               \
10
 
        -I$(top_srcdir)                 \
11
 
        -I$(top_builddir)               \
12
 
        -I$(srcdir)/..                  \
13
 
        -I$(srcdir)/../..               \
14
 
        $(GTK_CFLAGS)                   \
15
 
        $(GLIB_CFLAGS) \
16
 
        $(P11_TESTS_CFLAGS)
17
 
 
18
 
LIBS = \
19
 
        $(GTK_LIBS) \
20
 
        $(GLIB_LIBS) \
21
 
        $(GTHREAD_LIBS) \
22
 
        $(P11_TESTS_LIBS)
23
 
 
24
 
noinst_PROGRAMS= \
25
 
        run-auto-test \
26
 
        run-prompt-test
27
 
                
28
 
run-auto-test.h: $(UNIT_AUTO) Makefile.am $(top_srcdir)/tests/prep-gtest.sh
29
 
        sh $(top_srcdir)/tests/prep-gtest.sh -b run-auto-test $(UNIT_AUTO)
30
 
 
31
 
run-auto-test.c: run-auto-test.h
32
 
 
33
 
run_auto_test_SOURCES = \
34
 
        run-auto-test.c run-auto-test.h \
35
 
        $(UNIT_AUTO)
36
 
        
37
 
run_auto_test_LDADD = \
38
 
        $(UNIT_LIBS) \
39
 
        $(DAEMON_LIBS)
40
 
        
41
 
run_auto_test_CFLAGS = \
42
 
        $(UNIT_FLAGS)
43
 
 
44
 
run-prompt-test.h: $(UNIT_PROMPT) Makefile.am $(top_srcdir)/tests/prep-gtest.sh
45
 
        sh $(top_srcdir)/tests/prep-gtest.sh -b run-prompt-test $(UNIT_PROMPT)
46
 
 
47
 
run-prompt-test.c: run-prompt-test.h
48
 
 
49
 
run_prompt_test_SOURCES = \
50
 
        run-prompt-test.c \
51
 
        run-prompt-test.h \
52
 
        $(UNIT_PROMPT)
53
 
 
54
 
run_prompt_test_LDADD = \
55
 
        $(UNIT_LIBS) \
56
 
        $(DAEMON_LIBS)
57
 
 
58
 
run_prompt_test_CFLAGS = \
59
 
        $(UNIT_FLAGS)
60
 
 
61
 
BUILT_SOURCES = \
62
 
        run-auto-test.c \
63
 
        run-auto-test.h \
64
 
        run-prompt-test.c \
65
 
        run-prompt-test.h
66
 
 
67
 
# ------------------------------------------------------------------------------
68
 
# Run the tests
69
 
 
70
 
test-auto: $(noinst_PROGRAMS)
71
 
        gtester --verbose -k -m=slow ./run-auto-test
72
 
 
73
 
test-prompt: $(noinst_PROGRAMS)
74
 
        gtester --verbose -k -m=slow ./run-prompt-test
75
 
 
76
 
check-am: $(noinst_PROGRAMS)
77
 
        TEST_DATA=$(srcdir)/test-data gtester -m=slow ./run-auto-test