5 # This file is part of adns, which is Copyright Ian Jackson
6 # and contributors (see the file INSTALL for full details).
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 3, or (at your option)
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software Foundation.
28 for f in $srcdir/case-*.sys
30 case="`echo \"$f\" | sed -e 's:^.*/::; s/^case-//; s/\.sys$//'`"
36 0) passed="$passed $case" ;;
37 5) skipped="$skipped $case" ;;
39 failed="$failed $case"
49 if [ "x$skipped" = x ]
51 echo "all tests passed."
53 echo "all applicable tests passed (skipped:$skipped)"
60 AT LEAST ONE TEST FAILED
61 passed tests:${passed:- NONE}
62 skipped tests:${skipped:- NONE}