Fixed Tests logs not showing on failure

This commit is contained in:
Snaipe 2016-01-14 12:40:22 +01:00
parent 23aab98c90
commit 44bf59aeab

View file

@ -126,7 +126,7 @@ after_success:
after_failure:
- |
if [ "$TESTS" = "ON" ]; then
if [ "${TESTS:-ON}" = "ON" ]; then
cat Testing/Temporary/LastTest.log samples/*.{out,err} ../samples/tests/*.{out,err}
fi