From b8c00dbe17d4a37fd240cb5479168a6efe100a74 Mon Sep 17 00:00:00 2001 From: hades Date: Wed, 28 Mar 2001 15:28:05 +0000 Subject: [PATCH] *** empty log message *** --- allParam/test/bin/main.sh | 3 ++- allParam/test/end.c | 2 +- allParam/test/middle.c | 1 + allParam/test/string/s_store_existing.h | 4 ++-- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/allParam/test/bin/main.sh b/allParam/test/bin/main.sh index 03143c4..eb0d6c4 100644 --- a/allParam/test/bin/main.sh +++ b/allParam/test/bin/main.sh @@ -13,7 +13,8 @@ done cat middle.c >> $SUITE for i in */*.c ; do - echo " errors -= $(basename $i \.c)(\"$(dirname $i)/$(basename $i \.c)\", param);" >> $SUITE + echo " errors -= $(basename $i \.c)(\"$(dirname $i)/$(basename $i \.c)\");" >> $SUITE + echo " tests++;" >> $SUITE done cat end.c >> $SUITE diff --git a/allParam/test/end.c b/allParam/test/end.c index 9ff7310..021595c 100644 --- a/allParam/test/end.c +++ b/allParam/test/end.c @@ -1,6 +1,6 @@ printf("================================================================================\n"); - printf("%s : %d errors detected.\n", argv[0], errors); + printf("%s : %d errors in %d tests detected.\n", argv[0], errors, tests); printf("================================================================================\n"); return 0; } diff --git a/allParam/test/middle.c b/allParam/test/middle.c index 9ccd053..eaf404d 100644 --- a/allParam/test/middle.c +++ b/allParam/test/middle.c @@ -1,6 +1,7 @@ int main(int argc, char *argv[]) { int errors = 0; + int tests = 0; printf("================================================================================\n"); printf("%s : Starting test ...\n", argv[0]); diff --git a/allParam/test/string/s_store_existing.h b/allParam/test/string/s_store_existing.h index becab49..6a935db 100644 --- a/allParam/test/string/s_store_existing.h +++ b/allParam/test/string/s_store_existing.h @@ -1,5 +1,5 @@ -#ifndef S_STORE_H -#define S_STORE_H +#ifndef S_STORE_EXISTING_H +#define S_STORE_EXISTING_H int s_store_existing(const char *); -- 2.43.0