Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(317)

Unified Diff: tools/dm_flags.py

Issue 986583004: Run Valgrind bots with --nogpu and --nocpu as appropriate (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: nanobench Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/dm_flags.json ('k') | tools/nanobench_flags.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dm_flags.py
diff --git a/tools/dm_flags.py b/tools/dm_flags.py
index bf194d164b2cf7bcc0b8823f388fde4e5ccc0c71..23612428f307b270d26554c20eec78f12576089c 100755
--- a/tools/dm_flags.py
+++ b/tools/dm_flags.py
@@ -61,6 +61,10 @@ def get_args(bot):
# PDF + .webp -> jumps depending on uninitialized memory. skia:3505
if 'Valgrind' in bot:
blacklist.extend('pdf _ .webp'.split(' '))
+ if 'GPU' in bot:
+ args.append('--nocpu')
+ elif 'CPU' in bot:
+ args.append('--nogpu')
if blacklist:
args.append('--blacklist')
@@ -103,7 +107,8 @@ def self_test():
'Test-Android-Nexus7-Tegra3-Arm7-Release',
'Test-Android-Xoom-Tegra2-Arm7-Release',
'Test-ChromeOS-Alex-GMA3150-x86-Debug',
- 'Test-Ubuntu12-ShuttleA-GTX550Ti-x86_64-Release-Valgrind',
+ 'Test-Ubuntu12-ShuttleA-GTX550Ti-x86_64-Release-Valgrind_CPU',
+ 'Test-Ubuntu12-ShuttleA-GTX550Ti-x86_64-Release-Valgrind_GPU',
'Test-Win7-ShuttleA-HD2000-x86-Debug-ANGLE',
]
« no previous file with comments | « tools/dm_flags.json ('k') | tools/nanobench_flags.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698