Skip to content

Commit 6a17fc9

Browse files
committed
Move prepare-board.sh step outside of robot tests.
1 parent 4f55171 commit 6a17fc9

File tree

4 files changed

+5
-19
lines changed

4 files changed

+5
-19
lines changed

.ci/robot_framework/run-robot.sh

+5
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ cd "tests_results/${DATE}_robot_${TESTS_RESULTS}/"
2525
# Copy the setup-env files.
2626
cp ../../setup-env*sh .
2727

28+
if [[ "${TEST_BOARD_SETUP_SKIP}" != "yes" ]]
29+
then
30+
../../prepare-board.sh
31+
fi
32+
2833
exec robot --name "WPE image tests" \
2934
--consolewidth 158 \
3035
--exclude skip \

.ci/robot_framework/tests/keywords_common.robot

-5
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,6 @@ Get Remote Memory Used
2727
${value}= Evaluate float(${stdout}[0])
2828
RETURN ${value}
2929

30-
Prepare Board
31-
${rc} ${output}= Run And Return Rc And Output ${PREPARE_BOARD_SCRIPT}
32-
Should Be Equal As Integers ${rc} 0 msg=Prepare Board command failed with non-zero exit status
33-
Log output: ${output}
34-
3530
Webdriver Remote Start
3631
${TEST_BOARD_IP} Get Environment Variable TEST_BOARD_IP
3732
${TEST_BOARD_WEBDRIVER_PORT} Get Environment Variable TEST_BOARD_WEBDRIVER_PORT

.ci/robot_framework/tests/tests_000_common.robot

-12
This file was deleted.

.ci/robot_framework/tests/variables.robot

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
*** Variables ***
2-
${PREPARE_BOARD_SCRIPT} ../../prepare-board.sh
3-
42
${MOTIONMARK_MIN_SCORE} 90
53

64
${VIDEO_30_FPS_THRESHOLD_CPU_LOAD} 3

0 commit comments

Comments
 (0)