Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

CI tester-exec.sh: use explicit test plan name in daft call #325

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docker/tester-exec.sh
Original file line number Diff line number Diff line change
@@ -110,12 +110,13 @@ testimg() {
cp $HOME/.config.ini.wlan ${_WLANCONF}
chmod 644 ${_WLANCONF}

daft ${DEVICE} ${FILENAME} --record
_daft_args="${DEVICE} ${FILENAME} --record --testplan iot_qatest"
daft $_daft_args
TEST_EXIT_CODE=$?
if [ "$TEST_EXIT_CODE" = 1 ]; then
echo "WARNING: daft=1 would lead to UNSTABLE: wipe results, retry daft"
rm -f *.log *.log.raw *.xml
daft ${DEVICE} ${FILENAME} --record
daft $_daft_args
TEST_EXIT_CODE=$?
fi
fi