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

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

Issue 149451: Point to correct app test binary (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 | 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 #!/usr/bin/python 1 #!/usr/bin/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 valgrind_test.py. 8 ''' Runs various chrome tests through valgrind_test.py.
9 9
10 This file is a copy of ../purify/chrome_tests.py. Eventually, it would be nice 10 This file is a copy of ../purify/chrome_tests.py. Eventually, it would be nice
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 "--trace_children", 252 "--trace_children",
253 "--indirect"]) 253 "--indirect"])
254 254
255 def TestTestShell(self): 255 def TestTestShell(self):
256 return self.SimpleTest("webkit", "test_shell_tests") 256 return self.SimpleTest("webkit", "test_shell_tests")
257 257
258 def TestUnit(self): 258 def TestUnit(self):
259 return self.SimpleTest("chrome", "unit_tests") 259 return self.SimpleTest("chrome", "unit_tests")
260 260
261 def TestApp(self): 261 def TestApp(self):
262 return self.SimpleTest("chrome", "app_tests") 262 return self.SimpleTest("chrome", "app_unittests")
263 263
264 def TestUI(self): 264 def TestUI(self):
265 return self.SimpleTest("chrome", "ui_tests", 265 return self.SimpleTest("chrome", "ui_tests",
266 valgrind_test_args=[ 266 valgrind_test_args=[
267 "--timeout=120000", 267 "--timeout=120000",
268 "--trace_children", 268 "--trace_children",
269 "--indirect"], 269 "--indirect"],
270 cmd_args=[ 270 cmd_args=[
271 "--ui-test-timeout=120000", 271 "--ui-test-timeout=120000",
272 "--ui-test-action-timeout=80000", 272 "--ui-test-action-timeout=80000",
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 for t in options.test: 421 for t in options.test:
422 tests = ChromeTests(options, args, t) 422 tests = ChromeTests(options, args, t)
423 ret = tests.Run() 423 ret = tests.Run()
424 if ret: return ret 424 if ret: return ret
425 return 0 425 return 0
426 426
427 427
428 if __name__ == "__main__": 428 if __name__ == "__main__":
429 ret = _main(sys.argv) 429 ret = _main(sys.argv)
430 sys.exit(ret) 430 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