Runner will now output failure filenames
This is temporary until a proper reporter can be createdmaster
parent
00856b0af4
commit
4572d0f636
|
@ -19,8 +19,15 @@
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
##
|
##
|
||||||
|
|
||||||
|
declare -i fail=0
|
||||||
|
|
||||||
# each test is run in a separate process to ensure environment isolation
|
# each test is run in a separate process to ensure environment isolation
|
||||||
for tcase in "$@"; do
|
for tcase in "$@"; do
|
||||||
env -i ./run-spec "$tcase"
|
env -i ./run-spec "$tcase" || {
|
||||||
|
echo "failed: $tcase" >&2
|
||||||
|
fail=1
|
||||||
|
}
|
||||||
done
|
done
|
||||||
|
|
||||||
|
test $fail -eq 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue