summaryrefslogtreecommitdiff
path: root/test/Makefile.am
blob: 44f20cc168598a9e31fe6e9fb1a94fee76160d5f (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
62
63
64
65
66
67
68
69
70
71
72
73
AUTOMAKE_OPTIONS = foreign

TESTS = \
	true-001.sh \
	run-test-001.sh \
	run-test-002.sh \
	todo-001.sh \
	todo-002.sh \
	todo-003.sh \
	day-001.sh \
	day-002.sh \
	day-003.sh \
	range-001.sh \
	range-002.sh \
	range-003.sh \
	appointment-001.sh \
	appointment-002.sh \
	appointment-003.sh \
	appointment-004.sh \
	appointment-005.sh \
	appointment-006.sh \
	appointment-007.sh \
	appointment-008.sh \
	appointment-009.sh \
	appointment-010.sh \
	appointment-011.sh \
	appointment-012.sh \
	appointment-013.sh \
	appointment-014.sh \
	appointment-015.sh \
	appointment-016.sh \
	appointment-017.sh \
	appointment-018.sh \
	appointment-019.sh \
	appointment-020.sh \
	appointment-021.sh \
	appointment-022.sh \
	event-001.sh \
	event-002.sh \
	event-003.sh \
	event-004.sh \
	event-005.sh \
	event-006.sh \
	next-001.sh \
	search-001.sh \
	bug-002.sh \
	recur-001.sh \
	recur-002.sh \
	recur-003.sh \
	recur-004.sh \
	recur-005.sh

TESTS_ENVIRONMENT = \
	TEST_INIT='$(top_srcdir)/test/test-init.sh' \
	CALCURSE='$(top_builddir)/src/calcurse' \
	DATA_DIR='$(top_srcdir)/test/data/'

AM_CFLAGS = -std=c99 -pedantic -D_POSIX_C_SOURCE=200809L

check_PROGRAMS = run-test
check_SCRIPTS = test-init.sh
noinst_SCRIPTS = $(check_SCRIPTS)

run_test_SOURCES = run-test.c

EXTRA_DIST = \
	$(TESTS) \
	test-init.sh \
	data/apts \
	data/apts-bug-002 \
	data/apts-recur \
	data/conf \
	data/todo