diff options
author | eakuefner <eakuefner@chromium.org> | 2015-03-23 14:04:28 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-23 21:05:52 +0000 |
commit | 09076881792dc0f91937592ba713b1f64598766b (patch) | |
tree | 4345e61a5385b5d9c61acb76230305bc7d8461aa | |
parent | abadb9bf3f02e61f3543ea62ade29a009b18e654 (diff) | |
download | chromium_src-09076881792dc0f91937592ba713b1f64598766b.zip chromium_src-09076881792dc0f91937592ba713b1f64598766b.tar.gz chromium_src-09076881792dc0f91937592ba713b1f64598766b.tar.bz2 |
[Telemetry] Expect to skip smoothness.maps on low-end devices
Certain devices have ARM GPUs that report support of certain WebGL features but
fail to actually support them, causing smoothness.maps to fail. This CL adds
WebGLLowEndExpectations to skip tests like smoothness.maps on such devices.
BUG=464731
R=dtu,kbr@chromium.org,sullivan
Review URL: https://codereview.chromium.org/1030693002
Cr-Commit-Position: refs/heads/master@{#321848}
-rw-r--r-- | tools/perf/benchmarks/smoothness.py | 4 | ||||
-rw-r--r-- | tools/perf/benchmarks/webgl_expectations.py | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tools/perf/benchmarks/smoothness.py b/tools/perf/benchmarks/smoothness.py index 9e3200c..b5debef 100644 --- a/tools/perf/benchmarks/smoothness.py +++ b/tools/perf/benchmarks/smoothness.py @@ -70,6 +70,10 @@ class SmoothnessMaps(benchmark.Benchmark): page_set = page_sets.MapsPageSet @classmethod + def CreateExpectations(cls): + return webgl_expectations.MapsExpectations() + + @classmethod def Name(cls): return 'smoothness.maps' diff --git a/tools/perf/benchmarks/webgl_expectations.py b/tools/perf/benchmarks/webgl_expectations.py index f96058c..d9e997f 100644 --- a/tools/perf/benchmarks/webgl_expectations.py +++ b/tools/perf/benchmarks/webgl_expectations.py @@ -8,3 +8,9 @@ class WebGLExpectations(test_expectations.TestExpectations): def SetExpectations(self): self.Skip('*', ['arm', 'broadcom', 'hisilicon', 'imagination', 'qualcomm', 'vivante'], bug=462729) + + +class MapsExpectations(test_expectations.TestExpectations): + """Defines expectations to skip intensive tests on low-end devices.""" + def SetExpectations(self): + self.Skip('*', ['arm'], bug=464731) |