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
This commit is contained in:
David James 2010-12-02 13:54:48 -08:00
parent a63cd2d648
commit 59a6600edd
2 changed files with 3 additions and 3 deletions

View File

@ -397,8 +397,8 @@ def _RunSmokeSuite(buildroot, results_dir):
cwd = os.path.join(buildroot, 'src', 'scripts') cwd = os.path.join(buildroot, 'src', 'scripts')
RunCommand(['bin/cros_run_vm_test', RunCommand(['bin/cros_run_vm_test',
'--no_graphics', '--no_graphics',
'--test_case=suite_Smoke',
'--results_dir_root=%s' % results_dir, '--results_dir_root=%s' % results_dir,
'suite_Smoke',
], cwd=cwd, error_ok=False) ], cwd=cwd, error_ok=False)

View File

@ -70,14 +70,14 @@ class ParallelTestRunner(object):
args = [ os.path.join(os.path.dirname(__file__), 'cros_run_vm_test'), args = [ os.path.join(os.path.dirname(__file__), 'cros_run_vm_test'),
'--snapshot', # The image is shared so don't modify it. '--snapshot', # The image is shared so don't modify it.
'--no_graphics', '--no_graphics',
'--ssh_port=%d' % ssh_port, '--ssh_port=%d' % ssh_port ]
'--test_case=%s' % test ]
if self._board: args.append('--board=%s' % self._board) if self._board: args.append('--board=%s' % self._board)
if self._image_path: args.append('--image_path=%s' % self._image_path) if self._image_path: args.append('--image_path=%s' % self._image_path)
if self._results_dir_root: if self._results_dir_root:
args.append('--results_dir_root=%s/%s.%d' % args.append('--results_dir_root=%s/%s.%d' %
(self._results_dir_root, test, ssh_port)) (self._results_dir_root, test, ssh_port))
if self._use_emerged: args.append('--use_emerged') if self._use_emerged: args.append('--use_emerged')
args.append(test)
Info('Running %r...' % args) Info('Running %r...' % args)
output = None output = None
if self._order_output: if self._order_output: