This fixes the application builds where we have no skiplist for most.
Before this we bailed out on return 0 and did never parse the result.
Now the result parsing is it's own function and always being called.
Bug-AGL: SPEC-2882
.
Change-Id: I58c05fa48dd9121e0eeb494975513dcc88290dc5
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
done
if [ ! -e "$SKIPLIST" ];then
- echo "DEBUG: $SKIPLIST does not exists"
+ echo "DEBUG: $SKIPLIST does not exist"
+ touch $SKIPLIST
return 0
fi
echo "DEBUG: $SKIPLIST is empty"
return 0
fi
+}
+handle_result() {
# example of testline: * lava.lava-test-retry [fail]
while read testline
do
if [ -s job-result.fail ];then
handle_skiplist
+ handle_result
fi
set -x