Code Review
/
ric-plt
/
lib
/
rmr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix possible nil pointer deref in interface check
[ric-plt/lib/rmr.git]
/
test
/
symtab_test.c
diff --git
a/test/symtab_test.c
b/test/symtab_test.c
index
b755e9c
..
1971317
100644
(file)
--- a/
test/symtab_test.c
+++ b/
test/symtab_test.c
@@
-28,11
+28,16
@@
*/
#define NO_DUMMY_RMR 1 // no dummy rmr functions; we don't pull in rmr.h or agnostic.h
*/
#define NO_DUMMY_RMR 1 // no dummy rmr functions; we don't pull in rmr.h or agnostic.h
+#define NO_EMULATION
+#define NO_PRIVATE_HEADERS
+#include <rmr.h>
+#include <rmr_agnostic.h>
+#include "test_support.c"
#include "rmr_symtab.h"
#include "rmr_symtab.h"
-#include "symtab.c"
-#include "test_support.c"
+#include "symtab.c" // module under test
+
int state = GOOD; // overall pass/fail state 0==fail
int counter; // global counter for for-each tests
int state = GOOD; // overall pass/fail state 0==fail
int counter; // global counter for for-each tests