Skip to content

Commit

Permalink
Move prepare-board.sh step outside of robot tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
psaavedra committed Jan 3, 2025
1 parent 590933a commit d8fdf46
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 19 deletions.
5 changes: 5 additions & 0 deletions .ci/robot_framework/run-robot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ cd "tests_results/${DATE}_robot_${TESTS_RESULTS}/"
# Copy the setup-env files.
cp ../../setup-env*sh .

if [[ "${TEST_BOARD_SETUP_SKIP}" != "yes" ]]
then
../../prepare-board.sh
fi

exec robot --name "WPE image tests" \
--consolewidth 158 \
--exclude skip \
Expand Down
5 changes: 0 additions & 5 deletions .ci/robot_framework/tests/keywords_common.robot
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ Get Remote Memory Used
${value}= Evaluate float(${stdout}[0])
RETURN ${value}

Prepare Board
${rc} ${output}= Run And Return Rc And Output ${PREPARE_BOARD_SCRIPT}
Should Be Equal As Integers ${rc} 0 msg=Prepare Board command failed with non-zero exit status
Log output: ${output}

Webdriver Remote Start
${TEST_BOARD_IP} Get Environment Variable TEST_BOARD_IP
${TEST_BOARD_WEBDRIVER_PORT} Get Environment Variable TEST_BOARD_WEBDRIVER_PORT
Expand Down
12 changes: 0 additions & 12 deletions .ci/robot_framework/tests/tests_000_common.robot

This file was deleted.

2 changes: 0 additions & 2 deletions .ci/robot_framework/tests/variables.robot
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
*** Variables ***
${PREPARE_BOARD_SCRIPT} ../../prepare-board.sh

${MOTIONMARK_MIN_SCORE} 90

${VIDEO_30_FPS_THRESHOLD_CPU_LOAD} 3
Expand Down

0 comments on commit d8fdf46

Please sign in to comment.