aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/nanobench_flags.py
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2016-02-22 14:59:59 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-22 14:59:59 -0800
commitafe9facc9f7c70ed8a9097ed660bd0bdd31ed14b (patch)
tree4c57951532116eac6c6008d02f617b76ebe6ea41 /tools/nanobench_flags.py
parenta856e25ba1e54de6c5b6641e4c8b5c0d6b5ea42b (diff)
Run no CPU benches in Debug trybots.
They seem to just be wasting time on the CQ. Hacking this into nanobench_flags.py makes it easy to back out. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1720223002 Review URL: https://codereview.chromium.org/1720223002
Diffstat (limited to 'tools/nanobench_flags.py')
-rwxr-xr-xtools/nanobench_flags.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/nanobench_flags.py b/tools/nanobench_flags.py
index 50d5feb930..451cd5583b 100755
--- a/tools/nanobench_flags.py
+++ b/tools/nanobench_flags.py
@@ -120,6 +120,10 @@ def get_args(bot):
match.append('~inc0.webp')
match.append('~inc1.webp')
+ # As an experiment, skip nanobench on Debug trybots.
+ if 'Debug' in bot and 'CPU' in bot and 'Trybot' in bot:
+ match = ['nothing_will_match_this']
+
if match:
args.append('--match')
args.extend(match)
@@ -139,6 +143,7 @@ def self_test():
'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Debug-ANGLE',
'Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Debug',
'Test-Android-GCC-GalaxyS4-GPU-SGX544-Arm7-Release',
+ 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot',
]
cov = coverage.coverage()