]>
Commit | Line | Data |
---|---|---|
657343a6 LS |
1 | #!/bin/sh |
2 | # | |
3 | # Print output of failing tests | |
4 | # | |
5 | ||
6 | . ${0%/*}/lib-travisci.sh | |
7 | ||
8 | for TEST_EXIT in t/test-results/*.exit | |
f67242c1 JH |
9 | do |
10 | if [ "$(cat "$TEST_EXIT")" != "0" ] | |
11 | then | |
12 | TEST_OUT="${TEST_EXIT%exit}out" | |
13 | echo "------------------------------------------------------------------------" | |
14 | echo "$(tput setaf 1)${TEST_OUT}...$(tput sgr0)" | |
15 | echo "------------------------------------------------------------------------" | |
16 | cat "${TEST_OUT}" | |
17 | fi | |
657343a6 | 18 | done |