mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
44dbadc38c
new file: projects/cmocka.org/test.c
15 lines
No EOL
325 B
C
15 lines
No EOL
325 B
C
#include <stdarg.h>
|
|
#include <stddef.h>
|
|
#include <setjmp.h>
|
|
#include <cmocka.h>
|
|
|
|
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);
|
|
} |