11 for file in "$1"/t
*-*.counts
19 fixed
=$
(($fixed + $value)) ;;
21 success
=$
(($success + $value)) ;;
23 failed
=$
(($failed + $value))
26 testnum
=$
(expr "$file" : 'test-results/\(t[0-9]*\)-')
27 failed_tests
="$failed_tests $testnum"
31 broken
=$
(($broken + $value)) ;;
33 total
=$
(($total + $value)) ;;
35 missing_prereq
="$missing_prereq,$value" ;;
40 if test -n "$missing_prereq"
42 unique_missing_prereq
=$
(
43 echo $missing_prereq |
48 if test -n "$unique_missing_prereq"
50 printf "\nmissing prereq: $unique_missing_prereq\n\n"
54 if test -n "$failed_tests"
56 printf "\nfailed test(s):$failed_tests\n\n"
59 printf "%-8s%d\n" fixed
$fixed
60 printf "%-8s%d\n" success
$success
61 printf "%-8s%d\n" failed
$failed
62 printf "%-8s%d\n" broken
$broken
63 printf "%-8s%d\n" total
$total