]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
*** empty log message ***
authorhades <hades>
Wed, 28 Mar 2001 15:28:05 +0000 (15:28 +0000)
committerhades <hades>
Wed, 28 Mar 2001 15:28:05 +0000 (15:28 +0000)
allParam/test/bin/main.sh
allParam/test/end.c
allParam/test/middle.c
allParam/test/string/s_store_existing.h

index 03143c405467b4bea52a07fd08d144312f1e7b3b..eb0d6c4d0ad8d08e867a57437c34a2f60eb2140b 100644 (file)
@@ -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
index 9ff7310986dc1ed8245642158a5f386b836cf4ad..021595c618f51fa36ee63daf89a7f1d926b6679a 100644 (file)
@@ -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;
 }
index 9ccd0534215cb23be9a0266306a99e2ad96f611a..eaf404dd1ed62b3acdb01093369e036144132bd6 100644 (file)
@@ -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]);
index becab499731bd85bda15098facc01ff39dd78e92..6a935db1f32702f4fb2b6c1791e5720c8d0e6c54 100644 (file)
@@ -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 *);