1#!/bin/sh2#3# Print output of failing tests4#56. ${0%/*}/lib-travisci.sh78for TEST_EXIT in t/test-results/*.exit9do10if [ "$(cat "$TEST_EXIT")" != "0" ]11then12TEST_OUT="${TEST_EXIT%exit}out"13echo "------------------------------------------------------------------------"14echo "$(tput setaf 1)${TEST_OUT}...$(tput sgr0)"15echo "------------------------------------------------------------------------"16cat "${TEST_OUT}"17fi18done