- count=`expr $count + 1`
- $crossparse "$decl" || { result=fail
- printf 'original input: %s\n' "$decl" 1>&2
- break
+ set "$@" "$decl"
+
+ # Accumulate tests in $@ and run them in batches to avoid
+ # significant startup costs.
+ if test $# -gt 25; then
+ shift
+ $crossparse "$@" || { result=fail
+ tmp_count=`first_failed "$@"`
+ count=`expr $count + $tmp_count`
+ break