Skip to content

Commit

Permalink
Enable evergreen black box tests for x64 (youtube#642)
Browse files Browse the repository at this point in the history
The SB 16 binaries are now released for trunk, and the shell-based tests
were enabled in youtube#566.

This includes wiring up the GitHub actions to run EG Black Box Tests.

b/283144901

Former-commit-id: 0449fa7
  • Loading branch information
hlwarriner committed Jun 20, 2023
1 parent 7ebdfd6 commit 7aa583d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/actions/on_host_test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ runs:
xvfb-run -a --server-args="-screen 0 1920x1080x24i +render +extension GLX -noreset" python3 $GITHUB_WORKSPACE/cobalt/black_box_tests/black_box_tests.py --platform ${{matrix.target_platform}} --config ${{matrix.config}} ${loader_args} --test_set wpt
elif [[ "${{matrix.shard}}" == 'evergreen' ]]; then
xvfb-run -a --server-args="-screen 0 1920x1080x24i +render +extension GLX -noreset" python3 $GITHUB_WORKSPACE/cobalt/evergreen_tests/evergreen_tests.py --platform ${{matrix.target_platform}} --config ${{matrix.config}} ${loader_args} --no-can_mount_tmpfs
elif [[ "${{matrix.shard}}" == 'evergreen-as-blackbox' ]]; then
xvfb-run -a --server-args="-screen 0 1920x1080x24i +render +extension GLX -noreset" python3 $GITHUB_WORKSPACE/cobalt/black_box_tests/black_box_tests.py --platform ${{matrix.target_platform}} --config ${{matrix.config}} ${loader_args} --test_set evergreen
elif [[ "${{matrix.shard}}" == 'coverage' ]]; then
xvfb-run -a --server-args="-screen 0 1920x1080x24i +render +extension GLX -noreset" python3 ${GITHUB_WORKSPACE}/starboard/tools/testing/test_runner.py --platform ${{matrix.target_platform}} --config ${{matrix.config}} -r ${loader_args} --xml_output_dir=${TEST_RESULTS_DIR} --coverage_dir=${COVERAGE_DIR} --coverage_report
else
Expand Down
11 changes: 10 additions & 1 deletion .github/config/evergreen-x64.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@
"docker_service": "build-linux-evergreen",
"on_host_test": true,
"bootloader": "linux-x64x11",
"on_host_test_shards": ["0", "1", "2", "3", "blackbox", "wpt", "evergreen"],
"on_host_test_shards": [
"0",
"1",
"2",
"3",
"blackbox",
"wpt",
"evergreen",
"evergreen-as-blackbox"
],
"platforms": [
"evergreen-x64",
"evergreen-x64-sbversion-15",
Expand Down
4 changes: 1 addition & 3 deletions cobalt/black_box_tests/black_box_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@
# TODO(b/283788059): enable when there are GitHub jobs to run integration
# and Black Box Tests on evergreen-arm-hardfp.
#'evergreen-arm/devel',
# TODO(b/283144901): enable when the Starboard 16 binaries are released for
# Evergreen.
#'evergreen-x64/devel',
'evergreen-x64/devel',
]

_PORT_SELECTION_RETRY_LIMIT = 10
Expand Down

0 comments on commit 7aa583d

Please sign in to comment.