1#!/bin/sh
2#
3# Print output of failing tests
4#
56
. ${0%/*}/lib-travisci.sh
78
for TEST_EXIT in t/test-results/*.exit
9do
10if [ "$(cat "$TEST_EXIT")" != "0" ]
11then
12TEST_OUT="${TEST_EXIT%exit}out"
13echo "------------------------------------------------------------------------"
14echo "$(tput setaf 1)${TEST_OUT}...$(tput sgr0)"
15echo "------------------------------------------------------------------------"
16cat "${TEST_OUT}"
17fi
18done