From 59a6600edd0d22775ce48db385d78b8d1e37a98e Mon Sep 17 00:00:00 2001 From: David James Date: Thu, 2 Dec 2010 13:54:48 -0800 Subject: [PATCH] Update scripts to avoid using deprecated --test_case syntax. TEST=Used cbuildbot.py to run tests BUG=chromium-os:9893 Change-Id: I3c3856fee6fa09c4e2c829f3c8f23d098b4b6bb5 Review URL: http://codereview.chromium.org/5555003 --- bin/cbuildbot.py | 2 +- bin/cros_run_parallel_vm_tests.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/cbuildbot.py b/bin/cbuildbot.py index d49fa06dc6..ad0c073698 100755 --- a/bin/cbuildbot.py +++ b/bin/cbuildbot.py @@ -397,8 +397,8 @@ def _RunSmokeSuite(buildroot, results_dir): cwd = os.path.join(buildroot, 'src', 'scripts') RunCommand(['bin/cros_run_vm_test', '--no_graphics', - '--test_case=suite_Smoke', '--results_dir_root=%s' % results_dir, + 'suite_Smoke', ], cwd=cwd, error_ok=False) diff --git a/bin/cros_run_parallel_vm_tests.py b/bin/cros_run_parallel_vm_tests.py index 2ca51a3afa..3d0d1d6d90 100755 --- a/bin/cros_run_parallel_vm_tests.py +++ b/bin/cros_run_parallel_vm_tests.py @@ -70,14 +70,14 @@ class ParallelTestRunner(object): args = [ os.path.join(os.path.dirname(__file__), 'cros_run_vm_test'), '--snapshot', # The image is shared so don't modify it. '--no_graphics', - '--ssh_port=%d' % ssh_port, - '--test_case=%s' % test ] + '--ssh_port=%d' % ssh_port ] if self._board: args.append('--board=%s' % self._board) if self._image_path: args.append('--image_path=%s' % self._image_path) if self._results_dir_root: args.append('--results_dir_root=%s/%s.%d' % (self._results_dir_root, test, ssh_port)) if self._use_emerged: args.append('--use_emerged') + args.append(test) Info('Running %r...' % args) output = None if self._order_output: