CI script tests: minor fixes

This commit is contained in:
Simon Duquennoy 2017-11-17 07:56:01 -08:00
parent 640fbd33b5
commit 6f15a2aa65
1 changed files with 4 additions and 2 deletions

View File

@ -22,7 +22,7 @@ STATUS=${PIPESTATUS[0]}
echo "Closing native node"
sleep 2
sudo kill -9 $CPID
pgrep hello-world | sudo xargs kill -9
if [ $STATUS -eq 0 ] ; then
cp $BASENAME.log $BASENAME.testlog
@ -42,7 +42,9 @@ else
printf "%-32s TEST FAIL\n" "$BASENAME" | tee -a $BASENAME.testlog;
fi
rm node.log
rm node.err
# We do not want Make to stop -> Return 0
# The Makefile will check if a log contains FAIL at the end
exit 0