summaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test.c')
-rw-r--r--test.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test.c b/test.c
index 79fd807..531d25b 100644
--- a/test.c
+++ b/test.c
@@ -1,6 +1,8 @@
#include <stdio.h>
#include <stdarg.h>
+unsigned int total_passed = 0;
+unsigned int total_failed = 0;
static int passed;
static int failed;
int verbose = 0;
@@ -66,7 +68,10 @@ void testing_end(void)
printf("%d tests passed, %d tests failed\n", passed, failed);
+ total_passed += passed;
passed = 0;
+
+ total_failed += failed;
failed = 0;
}