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
Correct bug identified in static analysis
[ric-plt/lib/rmr.git]
/
test
/
tools_test.c
diff --git
a/test/tools_test.c
b/test/tools_test.c
index
70cce44
..
9ccc68d
100644
(file)
--- a/
test/tools_test.c
+++ b/
test/tools_test.c
@@
-49,13
+49,17
@@
#include "tools_static.c"
#include "tools_static_test.c"
#include "tools_static.c"
#include "tools_static_test.c"
+#include "wrapper_static_test.c"
int main( ) {
int errors = 0;
int main( ) {
int errors = 0;
- fprintf( stderr, "
>>>
> starting tools_test\n" );
+ fprintf( stderr, "
<INFO
> starting tools_test\n" );
errors += tools_test() > 0;
errors += tools_test() > 0;
+ fprintf( stderr, "<INFO> testing wrapper\n" );
+ errors += wrapper_test();
+
test_summary( errors, "tool tests" );
if( errors == 0 ) {
fprintf( stderr, "<PASS> all tool tests were OK\n\n" );
test_summary( errors, "tool tests" );
if( errors == 0 ) {
fprintf( stderr, "<PASS> all tool tests were OK\n\n" );