5 ${CMAKE_CURRENT_SOURCE_DIR}
6 ${CMAKE_SOURCE_DIR}/include
12 test_assert_macros_fail
13 test_exception_handler)
15 foreach(_CMOCKA_TEST ${CMOCKA_TESTS})
16 add_cmocka_test(${_CMOCKA_TEST} ${_CMOCKA_TEST}.c ${CMOCKA_SHARED_LIBRARY})
21 # test_assert_macros_fail
23 test_assert_macros_fail
25 PASS_REGULAR_EXPRESSION
26 "\\[ FAILED \\] 1 test"
29 # test_exception_handler
31 test_exception_handler
33 PASS_REGULAR_EXPRESSION
34 "Test failed with exception: (Segmentation fault|Segmentation Fault|11)"