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

Side by Side Diff: tools/purify/chrome_tests.py

Issue 118361: Change one more -88 to 88 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 6 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 | Annotate | Revision Log
« 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 #!/bin/env python 1 #!/bin/env python
2 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2006-2008 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 # chrome_tests.py 6 # chrome_tests.py
7 7
8 ''' Runs various chrome tests through purify_test.py 8 ''' Runs various chrome tests through purify_test.py
9 ''' 9 '''
10 10
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 # Since we're running small chunks of the layout tests, it's important to 319 # Since we're running small chunks of the layout tests, it's important to
320 # mark the ones that have errors in them. These won't be visible in the 320 # mark the ones that have errors in them. These won't be visible in the
321 # summary list for long, but will be useful for someone reviewing this bot. 321 # summary list for long, but will be useful for someone reviewing this bot.
322 #return ret 322 #return ret
323 # For now, since a fair number of layout tests are still red, we'll use the 323 # For now, since a fair number of layout tests are still red, we'll use the
324 # magic orange indicator return code to avoid making the tree look red when 324 # magic orange indicator return code to avoid making the tree look red when
325 # nothing has changed. When We get the layout tests into a stable green, 325 # nothing has changed. When We get the layout tests into a stable green,
326 # this code should be undone. 326 # this code should be undone.
327 # BUG=7516 327 # BUG=7516
328 if ret: 328 if ret:
329 return -88 329 return 88
330 return 0 330 return 0
331 331
332 def TestUI(self): 332 def TestUI(self):
333 if not self._options.no_reinstrument: 333 if not self._options.no_reinstrument:
334 instrumentation_error = self.InstrumentDll() 334 instrumentation_error = self.InstrumentDll()
335 if instrumentation_error: 335 if instrumentation_error:
336 return instrumentation_error 336 return instrumentation_error
337 return self.ScriptedTest("chrome", "chrome.exe", "ui_tests", 337 return self.ScriptedTest("chrome", "chrome.exe", "ui_tests",
338 ["ui_tests.exe", 338 ["ui_tests.exe",
339 "--single-process", 339 "--single-process",
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 for t in options.test: 395 for t in options.test:
396 tests = ChromeTests(options, args, t) 396 tests = ChromeTests(options, args, t)
397 ret = tests.Run() 397 ret = tests.Run()
398 if ret: return ret 398 if ret: return ret
399 return 0 399 return 0
400 400
401 401
402 if __name__ == "__main__": 402 if __name__ == "__main__":
403 ret = _main(sys.argv) 403 ret = _main(sys.argv)
404 sys.exit(ret) 404 sys.exit(ret)
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