1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

fix log output of integration tests

This commit is contained in:
Steffen Vogel 2017-09-03 10:55:04 +02:00
parent 9d2e9bae39
commit 34e9c90f0f
2 changed files with 3 additions and 2 deletions

View file

@ -46,5 +46,6 @@ function villas_format_supports_header() {
}
function colorize() {
RANDOM=$BASHPID
echo -e "\x1b[0;$((31 + $RANDOM % 7))m$1\x1b[0m"
}
}

View file

@ -91,7 +91,7 @@ for TEST in ${TESTS}; do
# Show full log in case of an error
if (( ${VERBOSE} == 0 )); then
if (( $RC != 99 )) || (( $RC != 0 )); then
if (( $RC != 99 )) && (( $RC != 0 )); then
cat ${LOGDIR}/${TESTNAME}.log
fi
fi