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

Commit

Permalink
CI tester-exec.sh: use explicit test plan name in daft call
Browse files Browse the repository at this point in the history
This reduces risk that some other test plan gets used.

Signed-off-by: Olev Kartau <[email protected]>
  • Loading branch information
okartau committed Nov 23, 2017
1 parent 1439998 commit ae8dd46
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/tester-exec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ae8dd46

Please sign in to comment.