aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipe_modules/flavor/examples/full.py
diff options
context:
space:
mode:
authorGravatar Kevin Lubick <kjlubick@google.com>2017-11-20 16:06:06 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-20 21:14:18 +0000
commitbca95a5ac58913db18a326fdf90a36c6106a55ec (patch)
tree98046624a9c21657679d656f4075639f302c69a9 /infra/bots/recipe_modules/flavor/examples/full.py
parente9d172af84fff5d76e19180a0c2b7b3cc51e90a2 (diff)
Put CPU frequency scaling in recipes
Bug: skia: Change-Id: I994f67c3043306d7fa612feb03f8fbe8d7bf4c91 Reviewed-on: https://skia-review.googlesource.com/73760 Commit-Queue: Kevin Lubick <kjlubick@google.com> Reviewed-by: Eric Boren <borenet@google.com>
Diffstat (limited to 'infra/bots/recipe_modules/flavor/examples/full.py')
-rw-r--r--infra/bots/recipe_modules/flavor/examples/full.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/infra/bots/recipe_modules/flavor/examples/full.py b/infra/bots/recipe_modules/flavor/examples/full.py
index c3e54d562a..1741dc965e 100644
--- a/infra/bots/recipe_modules/flavor/examples/full.py
+++ b/infra/bots/recipe_modules/flavor/examples/full.py
@@ -89,6 +89,9 @@ TEST_BUILDERS = [
('Perf-Debian9-Clang-GCE-CPU-AVX2-x86_64-Release-All-'
'UBSAN_float_cast_overflow'),
'Perf-Ubuntu14-GCC-GCE-CPU-AVX2-x86_64-Release-All-CT_BENCH_1k_SKPs',
+ 'Test-Android-Clang-GalaxyS7_G930FD-GPU-MaliT880-arm64-Debug-All-Android',
+ 'Test-Android-Clang-Nexus10-CPU-Exynos5250-arm-Release-All-Android',
+ 'Test-Android-Clang-Pixel-GPU-Adreno530-arm64-Debug-All-Android',
'Test-ChromeOS-Clang-SamsungChromebookPlus-GPU-MaliT860-arm-Release-All',
'Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-All-Coverage',
'Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Release-All-TSAN',
@@ -120,6 +123,25 @@ def GenTests(api):
test += api.step_data(
'read chromecast ip',
stdout=api.raw_io.output('192.168.1.2:5555'))
+ if 'Nexus10' in buildername:
+ test += api.step_data(
+ 'fetch available frequencies',
+ stdout=api.raw_io.output('/system/bin/sh: cat: '
+ ' No such file or directory'))
+ test += api.step_data(
+ 'fetch min frequency',
+ stdout=api.raw_io.output('200000'))
+ test += api.step_data(
+ 'fetch max frequency',
+ stdout=api.raw_io.output('800000'))
+ elif 'Nexus' in buildername:
+ test += api.step_data(
+ 'fetch available frequencies',
+ stdout=api.raw_io.output('51000 102000 204000 340000 475000 '
+ '640000 760000 860000 1000000 1100000 1200000 1300000'))
+ elif 'GalaxyS7' in buildername:
+ test += api.step_data(
+ 'root (to set cpu frequency)', retcode=1)
yield test
builder = 'Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Release-All'