2 # Copyright (C) 2011-2012 Free Software Foundation, Inc.
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2, or (at your option)
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
17 # Check test counts in the testsuite summary.
19 . ./defs-static || Exit 1
24 . "$am_testauxdir"/testsuite-summary-checks.sh || Exit 99
30 Testsuite summary for GNU AutoFoo 7.1
38 Please report to bug-automake@gnu.org
79 # Some simpler checks, with low or moderate number of tests.
81 do_check skip.t skip2.t skip3.t xfail.t xfail2.t <<END
93 do_check pass.t pass2.t xfail.t xpass.t error.t error2.t <<END
113 pass=` seq_ 1 $pass_count | sed 's/.*/pass-&.t/'`
114 skip=` seq_ 1 $skip_count | sed 's/.*/skip-&.t/'`
115 xfail=`seq_ 1 $xfail_count | sed 's/.*/xfail-&.t/'`
116 fail=` seq_ 1 $fail_count | sed 's/.*/fail-&.t/'`
117 xpass=`seq_ 1 $xpass_count | sed 's/.*/xpass-&.t/'`
118 error=`seq_ 1 $error_count | sed 's/.*/error-&.t/'`
120 do_check $pass $skip $xfail $fail $xpass $error <<END
122 # TOTAL: $tests_count
125 # XFAIL: $xfail_count
127 # XPASS: $xpass_count
128 # ERROR: $error_count
132 # Mild stress test with a lot of test scripts.
142 pass=` seq_ 1 $pass_count | sed 's/.*/pass-&.t/'`
143 skip=` seq_ 1 $skip_count | sed 's/.*/skip-&.t/'`
144 xfail=`seq_ 1 $xfail_count | sed 's/.*/xfail-&.t/'`
145 fail=` seq_ 1 $fail_count | sed 's/.*/fail-&.t/'`
146 xpass=`seq_ 1 $xpass_count | sed 's/.*/xpass-&.t/'`
147 error=`seq_ 1 $error_count | sed 's/.*/error-&.t/'`
149 do_check $pass $skip $xfail $fail $xpass $error <<END
151 # TOTAL: $tests_count
154 # XFAIL: $xfail_count
156 # XPASS: $xpass_count
157 # ERROR: $error_count