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

Side by Side Diff: autotest

Issue 3161031: Temporarily blacklist WebGLConformance to open buildbot. zbehan has a permanent fix following up (Closed) Base URL: http://src.chromium.org/git/crosutils.git
Patch Set: Created 10 years, 4 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/python 1 #!/usr/bin/python
2 2
3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 # 6 #
7 # A python wrapper to call autotest ebuild. 7 # A python wrapper to call autotest ebuild.
8 8
9 import commands, logging, optparse, os, subprocess, sys 9 import commands, logging, optparse, os, subprocess, sys
10 10
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 use_flag = use_flag + ' buildcheck' 148 use_flag = use_flag + ' buildcheck'
149 149
150 board_blacklist_file = ('%s/src/overlays/overlay-%s/autotest-blacklist' % 150 board_blacklist_file = ('%s/src/overlays/overlay-%s/autotest-blacklist' %
151 (os.environ['GCLIENT_ROOT'], options.board)) 151 (os.environ['GCLIENT_ROOT'], options.board))
152 if os.path.exists(board_blacklist_file): 152 if os.path.exists(board_blacklist_file):
153 blacklist = [line.strip() 153 blacklist = [line.strip()
154 for line in open(board_blacklist_file).readlines()] 154 for line in open(board_blacklist_file).readlines()]
155 else: 155 else:
156 blacklist = [] 156 blacklist = []
157 157
158 blacklist.append("graphics_WebGLConformance")
158 all_tests = ('compilebench,dbench,disktest,fsx,hackbench,iperf,netperf2,' 159 all_tests = ('compilebench,dbench,disktest,fsx,hackbench,iperf,netperf2,'
159 'netpipe,unixbench') 160 'netpipe,unixbench')
160 site_tests = '../third_party/autotest/files/client/site_tests' 161 site_tests = '../third_party/autotest/files/client/site_tests'
161 for site_test in os.listdir(site_tests): 162 for site_test in os.listdir(site_tests):
162 test_path = os.path.join(site_tests, site_test) 163 test_path = os.path.join(site_tests, site_test)
163 test_py = os.path.join(test_path, '%s.py' % site_test) 164 test_py = os.path.join(test_path, '%s.py' % site_test)
164 if (os.path.exists(test_path) and os.path.isdir(test_path) and 165 if (os.path.exists(test_path) and os.path.isdir(test_path) and
165 os.path.exists(test_py) and os.path.isfile(test_py) and 166 os.path.exists(test_py) and os.path.isfile(test_py) and
166 site_test not in blacklist): 167 site_test not in blacklist):
167 all_tests += ',' + site_test 168 all_tests += ',' + site_test
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 die(common_sh, 'build_autotest failed.') 224 die(common_sh, 'build_autotest failed.')
224 else: 225 else:
225 ssh_key_file = os.path.join(os.path.dirname(me), 226 ssh_key_file = os.path.join(os.path.dirname(me),
226 'mod_for_test_scripts/ssh_keys/testing_rsa') 227 'mod_for_test_scripts/ssh_keys/testing_rsa')
227 os.chmod(ssh_key_file, 0400) 228 os.chmod(ssh_key_file, 0400)
228 run_autoserv(options, args) 229 run_autoserv(options, args)
229 230
230 231
231 if __name__ == '__main__': 232 if __name__ == '__main__':
232 main() 233 main()
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