Skip to content

Commit d4ae008

Browse files
Switch back to python test runner (#8717)
build: Switch to Python browser test runner The build system now uses the run_browser_tests.py script as the primary runner for browser tests, replacing the temporary shell script. The Python script has been significantly refactored to provide robust test execution capabilities. It now supports GTest sharding, enabling efficient parallel execution across CI/CD environments. It also integrates GTest XML output, ensuring standardized test reporting. Improvements include better argument parsing, test binary discovery, and error handling. Bug: 433354983
1 parent da0bb98 commit d4ae008

File tree

3 files changed

+382
-296
lines changed

3 files changed

+382
-296
lines changed

cobalt/testing/browser_tests/BUILD.gn

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,7 @@ if (is_android) {
179179

180180
copy("cobalt_browsertests_runner_script") {
181181
testonly = true
182-
183-
# TODO(433354983): Switch back to the run_browser_tests.py
184-
# once the infra supports python.
185-
sources = [ "cobalt_browsertests_runner.sh" ]
182+
sources = [ "run_browser_tests.py" ]
186183
outputs = [ "$root_out_dir/cobalt_browsertests_runner" ]
187184
deps = [ ":cobalt_browsertests" ]
188185
}

cobalt/testing/browser_tests/cobalt_browsertests_runner.sh

Lines changed: 0 additions & 186 deletions
This file was deleted.

0 commit comments

Comments
 (0)