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

Side by Side Diff: scripts/slave/recipe_modules/chromium/steps.py

Issue 518663003: Add mojo python bindings tests to the waterfalls. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Rebase Created 6 years, 3 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 5
6 class Test(object): 6 class Test(object):
7 """ 7 """
8 Base class for tests that can be retried after deapplying a previously 8 Base class for tests that can be retried after deapplying a previously
9 applied patch. 9 applied patch.
10 """ 10 """
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 name = 'mojo_python_tests' 490 name = 'mojo_python_tests'
491 491
492 def run_step(self, api, suffix, cmd_args, **kwargs): 492 def run_step(self, api, suffix, cmd_args, **kwargs):
493 return api.python(self._step_name(suffix), 493 return api.python(self._step_name(suffix),
494 api.path['checkout'].join('mojo', 'tools', 494 api.path['checkout'].join('mojo', 'tools',
495 'run_mojo_python_tests.py'), 495 'run_mojo_python_tests.py'),
496 cmd_args, 496 cmd_args,
497 **kwargs) 497 **kwargs)
498 498
499 499
500 class MojoPythonBindingsTests(PythonBasedTest): # pylint: disable=W0232
501 name = 'mojo_python_bindings_tests'
502
503 def run_step(self, api, suffix, cmd_args, **kwargs):
504 args = list(cmd_args or [])
Dirk Pranke 2014/09/06 00:28:28 This list() call should not be necessary (I don't
qsr 2014/09/08 08:43:20 Done.
505 args.extend(['--build-dir', api.chromium.c.build_dir])
506 return api.python(
507 self._step_name(suffix),
508 api.path['checkout'].join('mojo', 'tools',
509 'run_mojo_python_bindings_tests.py'),
510 args,
511 **kwargs)
512
513
500 class PrintPreviewTests(PythonBasedTest): # pylint: disable=W032 514 class PrintPreviewTests(PythonBasedTest): # pylint: disable=W032
501 name = 'print_preview_tests' 515 name = 'print_preview_tests'
502 516
503 def run_step(self, api, suffix, cmd_args, **kwargs): 517 def run_step(self, api, suffix, cmd_args, **kwargs):
504 platform_arg = '.'.join(['browser_test', 518 platform_arg = '.'.join(['browser_test',
505 api.platform.normalize_platform_name(api.platform.name)]) 519 api.platform.normalize_platform_name(api.platform.name)])
506 args = list(cmd_args) 520 args = list(cmd_args)
507 path = api.path['checkout'].join( 521 path = api.path['checkout'].join(
508 'webkit', 'tools', 'layout_tests', 'run_webkit_tests.py') 522 'webkit', 'tools', 'layout_tests', 'run_webkit_tests.py')
509 args.extend(['--platform', platform_arg]) 523 args.extend(['--platform', platform_arg])
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 GTestTest('components_unittests'), 750 GTestTest('components_unittests'),
737 GTestTest('crypto_unittests'), 751 GTestTest('crypto_unittests'),
738 GTestTest('gfx_unittests'), 752 GTestTest('gfx_unittests'),
739 GTestTest('url_unittests'), 753 GTestTest('url_unittests'),
740 GTestTest('content_unittests'), 754 GTestTest('content_unittests'),
741 GTestTest('net_unittests'), 755 GTestTest('net_unittests'),
742 GTestTest('ui_unittests'), 756 GTestTest('ui_unittests'),
743 GTestTest('sync_unit_tests'), 757 GTestTest('sync_unit_tests'),
744 GTestTest('sql_unittests'), 758 GTestTest('sql_unittests'),
745 ] 759 ]
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/chromium/chromium_linux.py ('k') | scripts/slave/recipes/chromium.expected/buildnumber_zero.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698