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

Side by Side Diff: slave/skia_slave_scripts/run_nanobench.py

Issue 399813002: try nanobench on Windows again (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Created 6 years, 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2014 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Run the Skia benchmarking executable.""" 6 """Run the Skia benchmarking executable."""
7 7
8 import os 8 import os
9 import sys 9 import sys
10 10
(...skipping 26 matching lines...) Expand all
37 args.extend(['--outResultsFile', self._JSONPath()]) 37 args.extend(['--outResultsFile', self._JSONPath()])
38 38
39 run_nanobench = True 39 run_nanobench = True
40 match = [] 40 match = []
41 41
42 # Disable known problems. 42 # Disable known problems.
43 if self._AnyMatch('Win7', 'Android'): 43 if self._AnyMatch('Win7', 'Android'):
44 # Segfaults when run as GPU bench. Very large texture? 44 # Segfaults when run as GPU bench. Very large texture?
45 match.append('~blurroundrect') 45 match.append('~blurroundrect')
46 46
47 if self._AllMatch('Win', 'Release'):
48 # Appears we're falling into an infinite loop.
49 run_nanobench = False
50
51 if self._AnyMatch('Nexus7'): 47 if self._AnyMatch('Nexus7'):
52 # Crashes in GPU mode. 48 # Crashes in GPU mode.
53 match.append('~draw_stroke') 49 match.append('~draw_stroke')
54 50
55 if match: 51 if match:
56 args.append('--match') 52 args.append('--match')
57 args.extend(match) 53 args.extend(match)
58 54
59 if run_nanobench: 55 if run_nanobench:
60 self._flavor_utils.RunFlavoredCmd('nanobench', args) 56 self._flavor_utils.RunFlavoredCmd('nanobench', args)
61 57
62 58
63 if '__main__' == __name__: 59 if '__main__' == __name__:
64 sys.exit(BuildStep.RunBuildStep(RunNanobench)) 60 sys.exit(BuildStep.RunBuildStep(RunNanobench))
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698