summaryrefslogtreecommitdiffstats
path: root/test/bittests.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/bittests.c')
-rw-r--r--test/bittests.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/bittests.c b/test/bittests.c
index 88c48dc..520bace 100644
--- a/test/bittests.c
+++ b/test/bittests.c
@@ -520,5 +520,11 @@ main (void)
nerrors += test_clear()<0?1:0;
nerrors += test_copy ()<0?1:0;
- return nerrors?1:0;
+ if (nerrors) {
+ printf("***** %lu FAILURE%s! *****\n",
+ nerrors, 1==nerrors?"":"S");
+ exit(1);
+ }
+ printf("All bit tests passed.\n");
+ return 0;
}