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
|
set(extra_deps
ebook-contacts
)
set(extra_defines)
set(extra_cflags
${ADDRESSBOOK_CFLAGS}
)
set(extra_incdirs
${ADDRESSBOOK_INCLUDE_DIRS}
)
set(extra_ldflags
${ADDRESSBOOK_LDFLAGS}
)
# Should be kept ordered approximately from least to most difficult/complex
set(TESTS
test-contact
test-contact-types
test-indices-updater
test-vcard-parsing
test-untyped-phones
test-type-param
test-query
test-phone-number
)
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)
|