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:
parent
9d2e9bae39
commit
34e9c90f0f
2 changed files with 3 additions and 2 deletions
|
@ -46,5 +46,6 @@ function villas_format_supports_header() {
|
|||
}
|
||||
|
||||
function colorize() {
|
||||
RANDOM=$BASHPID
|
||||
echo -e "\x1b[0;$((31 + $RANDOM % 7))m$1\x1b[0m"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue