Commit b1b83daf authored by Chong Gu's avatar Chong Gu Committed by Commit Bot

[Fuchsia] Run gpu integration tests on Fuchsia as googletests.

Adds support for sharding of Fuchsia gpu integration tests.
Filter flaky tests.

Bug: 1058255
Change-Id: Ie935d20182733f68cffb61142a35b811a7654798
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2261161Reviewed-by: default avatarBrian Sheedy <bsheedy@chromium.org>
Commit-Queue: Chong Gu <chonggu@google.com>
Cr-Commit-Position: refs/heads/master@{#781649}
parent 0e01717a
...@@ -424,11 +424,6 @@ group("telemetry_gpu_integration_test") { ...@@ -424,11 +424,6 @@ group("telemetry_gpu_integration_test") {
"//content/test:telemetry_gpu_integration_test_support", "//content/test:telemetry_gpu_integration_test_support",
"//tools/perf/chrome_telemetry_build:telemetry_chrome_test", "//tools/perf/chrome_telemetry_build:telemetry_chrome_test",
] ]
data = [
# For isolate contract.
"//testing/scripts/gpu_integration_test_adapter.py",
"//testing/scripts/run_gpu_integration_test_as_googletest.py",
]
} }
if (is_win) { if (is_win) {
...@@ -6810,7 +6805,7 @@ if (!is_fuchsia && !is_android) { ...@@ -6810,7 +6805,7 @@ if (!is_fuchsia && !is_android) {
"//testing/scripts/common.py", "//testing/scripts/common.py",
"//testing/xvfb.py", "//testing/xvfb.py",
"//testing/scripts/run_telemetry_as_googletest.py", "//testing/scripts/run_telemetry_as_googletest.py",
# For Skia Gold code, which has some GPU-specific unittests. # For Skia Gold code, which has some GPU-specific unittests.
"//testing/skia_gold_common/", "//testing/skia_gold_common/",
] ]
......
...@@ -661,6 +661,10 @@ group("telemetry_gpu_integration_test_support") { ...@@ -661,6 +661,10 @@ group("telemetry_gpu_integration_test_support") {
# For Skia Gold pixel test functionality. # For Skia Gold pixel test functionality.
"//testing/skia_gold_common/", "//testing/skia_gold_common/",
# For isolate contract.
"//testing/scripts/gpu_integration_test_adapter.py",
"//testing/scripts/run_gpu_integration_test_as_googletest.py",
] ]
data_deps = [ data_deps = [
......
...@@ -25,3 +25,4 @@ crbug.com/1006045 [ android android-nexus-5x skia-renderer ] ScreenshotSync_SWRa ...@@ -25,3 +25,4 @@ crbug.com/1006045 [ android android-nexus-5x skia-renderer ] ScreenshotSync_SWRa
# Fuchsia # Fuchsia
crbug.com/1097962 [ fuchsia ] ScreenshotSync_SWRasterWithCanvas [ RetryOnFailure ] crbug.com/1097962 [ fuchsia ] ScreenshotSync_SWRasterWithCanvas [ RetryOnFailure ]
crbug.com/1097962 [ fuchsia ] ScreenshotSync_GPURasterWithCanvas [ RetryOnFailure ]
...@@ -191,6 +191,10 @@ crbug.com/1097338 [ fuchsia ] conformance/glsl/bugs/conditional-discard-optimiza ...@@ -191,6 +191,10 @@ crbug.com/1097338 [ fuchsia ] conformance/glsl/bugs/conditional-discard-optimiza
crbug.com/1097338 [ fuchsia ] conformance/glsl/variables/glsl-built-ins.html [ Skip ] crbug.com/1097338 [ fuchsia ] conformance/glsl/variables/glsl-built-ins.html [ Skip ]
crbug.com/1097338 [ fuchsia ] conformance/misc/invalid-passed-params.html [ Skip ] crbug.com/1097338 [ fuchsia ] conformance/misc/invalid-passed-params.html [ Skip ]
crbug.com/1096746 [ fuchsia ] conformance/rendering/line-rendering-quality.html [ Skip ] crbug.com/1096746 [ fuchsia ] conformance/rendering/line-rendering-quality.html [ Skip ]
crbug.com/1096746 [ fuchsia ] conformance/rendering/many-draw-calls.html [ Skip ]
# Fails only on Swarming
crbug.com/1096746 [ fuchsia ] conformance/glsl/functions/glsl-function-ceil.html [ Skip ]
#################### ####################
# Win failures # # Win failures #
......
...@@ -782,7 +782,7 @@ ...@@ -782,7 +782,7 @@
"../../content/test/gpu/run_gpu_integration_test_fuchsia.py", "../../content/test/gpu/run_gpu_integration_test_fuchsia.py",
], ],
"label": "//content/test:fuchsia_telemetry_gpu_integration_test", "label": "//content/test:fuchsia_telemetry_gpu_integration_test",
"script": "//testing/scripts/run_isolated_script_test.py", "script": "//testing/scripts/run_gpu_integration_test_as_googletest.py",
"type": "script", "type": "script",
}, },
"gcm_unit_tests": { "gcm_unit_tests": {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment