CI script tests: minor fixes
This commit is contained in:
parent
640fbd33b5
commit
6f15a2aa65
@ -22,7 +22,7 @@ STATUS=${PIPESTATUS[0]}
|
|||||||
|
|
||||||
echo "Closing native node"
|
echo "Closing native node"
|
||||||
sleep 2
|
sleep 2
|
||||||
sudo kill -9 $CPID
|
pgrep hello-world | sudo xargs kill -9
|
||||||
|
|
||||||
if [ $STATUS -eq 0 ] ; then
|
if [ $STATUS -eq 0 ] ; then
|
||||||
cp $BASENAME.log $BASENAME.testlog
|
cp $BASENAME.log $BASENAME.testlog
|
||||||
@ -42,7 +42,9 @@ else
|
|||||||
printf "%-32s TEST FAIL\n" "$BASENAME" | tee -a $BASENAME.testlog;
|
printf "%-32s TEST FAIL\n" "$BASENAME" | tee -a $BASENAME.testlog;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
rm node.log
|
||||||
|
rm node.err
|
||||||
|
|
||||||
# We do not want Make to stop -> Return 0
|
# We do not want Make to stop -> Return 0
|
||||||
# The Makefile will check if a log contains FAIL at the end
|
# The Makefile will check if a log contains FAIL at the end
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user