projects
/
platform
/
upstream
/
cmocka.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
cmake: Do not build the chef_wrap example on OSX.
[platform/upstream/cmocka.git]
/
example
/
simple_test.c
1
#include <stdarg.h>
2
#include <stddef.h>
3
#include <setjmp.h>
4
#include <cmocka.h>
5
6
/* A test case that does nothing and succeeds. */
7
static void null_test_success(void **state) {
8
(void) state; /* unused */
9
}
10
11
int main(void) {
12
const UnitTest tests[] = {
13
unit_test(null_test_success),
14
};
15
16
return run_tests(tests);
17
}