2010-03-02 15:47:14 +03:00
|
|
|
project(unittests C)
|
|
|
|
|
2010-12-28 15:44:14 +03:00
|
|
|
add_cmockery_test(torture_buffer torture_buffer.c ${TORTURE_LIBRARY})
|
2010-12-28 16:04:44 +03:00
|
|
|
add_cmockery_test(torture_callbacks torture_callbacks.c ${TORTURE_LIBRARY})
|
2010-12-28 16:15:32 +03:00
|
|
|
add_cmockery_test(torture_init torture_init.c ${TORTURE_LIBRARY})
|
2010-12-28 16:47:19 +03:00
|
|
|
add_cmockery_test(torture_list torture_list.c ${TORTURE_LIBRARY})
|
2010-12-28 16:57:42 +03:00
|
|
|
add_cmockery_test(torture_misc torture_misc.c ${TORTURE_LIBRARY})
|
2010-12-28 17:05:56 +03:00
|
|
|
add_cmockery_test(torture_options torture_options.c ${TORTURE_LIBRARY})
|
2010-12-29 22:33:32 +03:00
|
|
|
if (UNIX AND NOT WIN32)
|
2011-01-01 20:50:32 +03:00
|
|
|
# requires ssh-keygen
|
|
|
|
add_cmockery_test(torture_keyfiles torture_keyfiles.c ${TORTURE_LIBRARY})
|
|
|
|
# requires pthread
|
2010-12-29 22:33:32 +03:00
|
|
|
add_cmockery_test(torture_rand torture_rand.c ${TORTURE_LIBRARY})
|
|
|
|
endif (UNIX AND NOT WIN32)
|