projects
/
platform
/
upstream
/
cmocka.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a950999
)
Revert "tests: Use internal allocation for test_fixtures."
author
Andreas Schneider
<asn@cryptomilk.org>
Mon, 23 Dec 2013 18:58:34 +0000
(19:58 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Mon, 23 Dec 2013 18:58:34 +0000
(19:58 +0100)
This reverts commit
eb3613e6b4c7b1d6d3a6593bd20ce8654e6bc5b8
.
tests/test_fixtures.c
patch
|
blob
|
history
diff --git
a/tests/test_fixtures.c
b/tests/test_fixtures.c
index
c911bfb
..
757394a
100644
(file)
--- a/
tests/test_fixtures.c
+++ b/
tests/test_fixtures.c
@@
-1,10
+1,10
@@
-#define UNIT_TESTING 1
-
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <cmocka.h>
+#include <stdlib.h>
+
static void setup_only(void **state)
{
*state = malloc(1);