Searched refs:ScriptError (Results 1 - 25 of 36) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/steps/
H A Ddiscardlocalchanges.py31 from webkitpy.common.system.executive import ScriptError namespace
49 raise ScriptError("Working directory has changes, pass --force-clean to continue.")
51 raise ScriptError("Repository has local commits, pass --force-clean to continue.")
H A Dcleanworkingdirectory.py31 from webkitpy.common.system.executive import ScriptError namespace
48 raise ScriptError("Working directory has changes, pass --force-clean to continue.")
H A Dcommit.py34 from webkitpy.common.system.executive import ScriptError namespace
64 except ScriptError, e:
98 raise ScriptError(message="Did not commit")
101 raise ScriptError(message="Authentication required")
104 raise ScriptError("You need to specify the username on %s to perform the commit as." % e.server_host)
108 raise ScriptError("You need to specify the password for %s on %s to perform the commit." % (username, e.server_host))
H A Dcheckstyle.py29 from webkitpy.common.system.executive import ScriptError namespace
61 except ScriptError, e:
H A Dcommit_unittest.py32 from webkitpy.common.system.executive import ScriptError namespace
65 self.assertRaises(ScriptError, capture.assert_outputs, self, step.run, [state])
H A Dconfirmdiff.py35 from webkitpy.common.system.executive import ScriptError namespace
60 except ScriptError, e:
H A Dhaslanded.py36 from webkitpy.common.system.executive import Executive, ScriptError namespace
85 except ScriptError, e:
98 raise ScriptError("Unable to find landed message in associated bug.")
H A Druntests.py35 from webkitpy.common.system.executive import ScriptError namespace
75 except ScriptError, e:
84 except ScriptError, e:
H A Dcleanworkingdirectory_unittest.py34 from webkitpy.common.system.executive import ScriptError namespace
43 self.assertRaises(ScriptError, step.run, {})
H A Ddiscardlocalchanges_unittest.py34 from webkitpy.common.system.executive import ScriptError namespace
87 self.assertRaises(ScriptError, step.run, {})
96 self.assertRaises(ScriptError, step.run, {})
H A Dabstractstep.py31 from webkitpy.common.system.executive import ScriptError namespace
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
H A Dworkspace.py35 from webkitpy.common.system.executive import ScriptError namespace
69 except ScriptError, e:
H A Dexecutive_mock.py33 from webkitpy.common.system.executive import ScriptError namespace
86 raise ScriptError("Exception for %s" % args, output="MOCK command output")
117 raise ScriptError("Exception for %s" % args, output="MOCK command output")
120 raise ScriptError("MOCK ScriptError", output=output)
190 script_error = ScriptError(script_args=args, exit_code=self._exit_code, output=self._output)
H A Dexecutive_unittest.py48 from webkitpy.common.system.executive import Executive, ScriptError namespace
54 error = ScriptError('My custom message!', '', -1)
56 error = ScriptError('My custom message!', '', -1, 'My output.')
58 error = ScriptError('', 'my_command!', -1, 'My output.', '/Users/username/blah')
60 error = ScriptError('', 'my_command!', -1, 'ab' + '1' * 499)
64 error = ScriptError('', ('my', 'command'), -1, 'My output.', '/Users/username/blah')
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/
H A Dabstractsequencedcommand.py31 from webkitpy.common.system.executive import ScriptError namespace
50 except ScriptError, e:
H A Ddownload.py35 from webkitpy.common.system.executive import ScriptError namespace
H A Dstepsequence.py35 from webkitpy.common.system.executive import ScriptError namespace
88 except ScriptError, e:
H A Dqueuestest.py33 from webkitpy.common.system.executive import ScriptError namespace
107 self.assert_outputs(queue.handle_script_error, "handle_script_error", [tool, {"patch": self.mock_work_item}, ScriptError(message="ScriptError error message", script_args="MockErrorCommand", output="MOCK output")], expected_stdout, expected_stderr, expected_exceptions, expected_logs)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/
H A Dtest_importer_unittest.py37 from webkitpy.common.system.executive_mock import MockExecutive2, ScriptError namespace
68 host.executive = MockExecutive2(exception=ScriptError("abort: no repository found in '/Volumes/Source/src/wk/Tools/Scripts/webkitpy/w3c' (.hg not found)!"))
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/
H A Dcheckout.py35 from webkitpy.common.system.executive import ScriptError namespace
74 raise ScriptError(message="Failed to apply reverse diff for revision %s because of the following conflicts:\n%s" % (revision, "\n".join(conflicts)))
H A Dcheckout_unittest.py39 from webkitpy.common.system.executive import Executive, ScriptError namespace
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/bindings/
H A Dmain.py32 from webkitpy.common.system.executive import ScriptError namespace
73 except ScriptError, e:
106 except ScriptError, e:
123 except ScriptError, e:
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/
H A Dgit.py36 from webkitpy.common.system.executive import Executive, ScriptError namespace
194 raise ScriptError(message='No upstream/tracking branch set.')
227 raise ScriptError(message="Path %s does not exist." % path)
322 raise ScriptError(message='Failed to find git commit for revision %s, your checkout likely needs an update.' % svn_revision)
378 raise ScriptError(message="The working copy is not modified. --git-commit=HEAD.. only commits working copy changes.")
387 raise ScriptError(message="Working copy is modified. Cannot commit individual git_commits.")
474 raise ScriptError(message="Can't find a branch to diff against. svn-remote.svn.fetch is not in the git config and %s does not exist" % remote_master_ref)
509 raise ScriptError(message="'...' is not supported (found in '%s'). Did you mean '..'?" % commitish)
553 raise ScriptError(message="Unable to find local branch tracking origin/master.")
H A Dscm_unittest.py49 from webkitpy.common.system.executive import Executive, ScriptError namespace
94 raise ScriptError('Failed to run "%s" exit_code: %d cwd: %s' % (args, exit_code, cwd))
251 self.assertRaises(ScriptError, run_command, ['grep', 'bar'], input=input_process.stdout)
255 self.assertRaises(ScriptError, run_command, command_returns_non_zero, input=input_process.stdout)
268 self.assertRaises(ScriptError, run_command, command_returns_non_zero)
272 self.assertRaises(CheckoutNeedsUpdate, commit_error_handler, ScriptError(output=git_failure_message))
273 self.assertRaises(CheckoutNeedsUpdate, commit_error_handler, ScriptError(output=svn_failure_message))
274 self.assertRaises(ScriptError, commit_error_handler, ScriptError(output='blah blah blah'))
360 self.assertRaises(ScriptError, sel
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/net/
H A Dcredentials.py38 from webkitpy.common.system.executive import Executive, ScriptError namespace
107 except ScriptError:

Completed in 237 milliseconds

12