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 Dec 7, 2017
1 parent f24883b commit 30f343e
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 30f343e

Please sign in to comment.