1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| #include <stdarg.h>
| #include <stddef.h>
| #include <setjmp.h>
| #include <stdint.h>
| #include <cmocka.h>
|
| /* A test case that does nothing and succeeds. */
| static void null_test_success(void **state) {
| (void) state; /* unused */
| }
|
| int main(void) {
| const struct CMUnitTest tests[] = {
| cmocka_unit_test(null_test_success),
| };
|
| return cmocka_run_group_tests(tests, NULL, NULL);
| }
|
|