summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: 2c35aff9ad33e1a2ce1a2b2d2a245da9ec672897 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61

EXTRA_DIST = \
	ca-example \
	cu-test \
	test-helpers.c test-helpers.h \
	gtest-helpers.c gtest-helpers.h \
	prep-tests.sh prep-gtest.sh \
	run-tests.sh \
	test.make gtest.make

INCLUDES=					\
	-I$(top_srcdir) 		\
	-I$(top_builddir) 		\
	$(GTK_CFLAGS) 			\
	$(GLIB_CFLAGS) 
	
LIBS = \
	$(GTK_LIBS) \
	$(GLIB_LIBS) \
	$(GTHREAD_LIBS)
	
noinst_PROGRAMS= \
	list-keyrings \
	test-keyring \
	test-keyring-two
	
# ------------------------------------------------------------------------------
# Simply list all the keyrings and whatever they have access to

list_keyrings_SOURCES = \
	list-keyrings.c

list_keyrings_LDADD = \
	$(top_builddir)/library/libgnome-keyring.la

# ------------------------------------------------------------------------------
# A generic testing program

test_keyring_SOURCES = \
	test-keyrings.c

test_keyring_LDADD = \
	$(top_builddir)/library/libgnome-keyring.la

test_keyring_two_SOURCES = \
	test-keyrings.c

test_keyring_two_LDADD = \
	$(top_builddir)/library/libgnome-keyring.la


# ------------------------------------------------------------------------------
# Run the tests

run: run-auto

run-auto: 
	sh run-tests.sh $(top_srcdir) run-auto-test

run-prompt: 
	sh run-tests.sh $(top_srcdir) run-prompt-test