blob: 13833069aabe713130e6b1da6a5c6c8c4a8ddc6c (
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
|
set(extra_deps
ecal
)
set(extra_defines)
set(extra_cflags
${CALENDAR_CFLAGS}
)
set(extra_incdirs
${CALENDAR_INCLUDE_DIRS}
)
set(extra_ldflags
${CALENDAR_LDFLAGS}
)
# Should be kept ordered approximately from least to most difficult/complex
set(TESTS
e-source-registry-test
)
foreach(_test ${TESTS})
set(SOURCES ${_test}.c)
add_installable_test(${_test}
SOURCES
extra_deps
extra_defines
extra_cflags
extra_incdirs
extra_ldflags
"session-exclusive"
"TEST_INSTALLED_SERVICES=1"
)
endforeach(_test)
set(TESTS_SKIP
e-collator-test
)
if(HAVE_GTK)
list(APPEND TESTS_SKIP
e-user-prompter-test
)
endif(HAVE_GTK)
foreach(_test ${TESTS_SKIP})
set(SOURCES ${_test}.c)
build_only_installable_test(${_test}
SOURCES
extra_deps
extra_defines
extra_cflags
extra_incdirs
extra_ldflags
"session-exclusive"
"TEST_INSTALLED_SERVICES=1"
)
endforeach(_test)
|