| Index: tools/test.py
|
| ===================================================================
|
| --- tools/test.py (revision 1427)
|
| +++ tools/test.py (working copy)
|
| @@ -478,7 +478,9 @@
|
| pass
|
|
|
| def Run(self):
|
| - self.BeforeRun()
|
| + errorCode = self.BeforeRun()
|
| + if errorCode:
|
| + return errorCode
|
| cmd = self.GetCommand()
|
| try:
|
| result = self.RunCommand(cmd)
|
| @@ -1219,7 +1221,8 @@
|
| result.add_option(
|
| '-c', '--component',
|
| help='The component to test against '
|
| - '(most, vm, dartc, frog, frogsh, leg, chromium, dartium)',
|
| + '(most, vm, dartc, frog, frogsh, leg, chromium, dartium, '
|
| + 'webdriver)',
|
| metavar='[most,vm,dartc,chromium,dartium]',
|
| default='vm')
|
| return result
|
| @@ -1259,7 +1262,7 @@
|
| return False
|
| for component in options.component:
|
| if not component in ['vm', 'dartc', 'frog', 'frogsh', 'leg',
|
| - 'chromium', 'dartium']:
|
| + 'chromium', 'dartium', 'webdriver']:
|
| print 'Unknown component %s' % component
|
| return False
|
| options.flags = []
|
|
|