Home | History | Annotate | Download | only in checkout

Lines Matching refs:run_command

51 from webkitpy.common.system.executive import Executive, run_command, ScriptError
86 return run_command([command, "diff"] + list(args), decode_output=False)
101 run_command(["svn", "add", path])
105 run_command(["svn", "commit", "--quiet", "--message", message])
141 run_command(['svn', 'update'])
150 run_command(['svnadmin', 'create', '--pre-1.5-compatible', test_object.svn_repo_path])
154 run_command(['svn', 'checkout', '--quiet', test_object.svn_repo_url, test_object.svn_checkout_path])
166 run_command(['rm', '-rf', test_object.svn_checkout_path])
167 run_command(['svn', 'checkout', '--quiet', test_object.svn_repo_url + '/trunk', test_object.svn_checkout_path])
173 run_command(['rm', '-rf', test_object.svn_repo_path])
174 run_command(['rm', '-rf', test_object.svn_checkout_path])
241 self.assertEqual(run_command(['grep', 'bar'], input=input_process.stdout), "bar\n")
244 self.assertEqual(run_command(['grep', 'bar'], input="foo\nbar"), "bar\n")
250 self.assertRaises(ScriptError, run_command, ['grep', 'bar'], input=input_process.stdout)
252 # Test when the run_command process fails.
254 self.assertRaises(ScriptError, run_command, command_returns_non_zero, input=input_process.stdout)
263 self.assertRaises(OSError, run_command, command_does_not_exist)
264 self.assertRaises(OSError, run_command, command_does_not_exist, error_handler=Executive.ignore_error)
267 self.assertRaises(ScriptError, run_command, command_returns_non_zero)
269 self.assertTrue(run_command(command_returns_non_zero, error_handler=Executive.ignore_error))
543 run_command(['svn', 'add', 'ChangeLog'])
544 run_command(['svn', 'commit', '--quiet', '--message', 'ChangeLog commit'])
550 run_command(['svn', 'commit', '--quiet', '--message', 'Intermediate commit'])
583 run_command(['svn', 'add', 'test_dir2'])
776 self.assertRaises(ScriptError, run_command, ['svn', 'update'])
779 run_command(['svn', 'update']) # Should succeed and not raise.
790 run_command(['git', 'init', self.untracking_checkout_path])
794 run_command(['git', 'add', 'foo_file'])
795 run_command(['git', 'commit', '-am', 'dummy commit'])
799 run_command(['git', 'clone', '--quiet', self.untracking_checkout_path, self.tracking_git_checkout_path])
806 run_command(['rm', '-rf', self.tracking_git_checkout_path])
807 run_command(['rm', '-rf', self.untracking_checkout_path])
816 run_command(['git', 'config', '--add', 'svn-remote.svn.fetch', 'trunk:remote1'])
817 run_command(['git', 'config', '--add', 'svn-remote.svn.fetch', 'trunk:remote2'])
822 run_command(['git', 'add', 'test_file_commit1'])
841 run_command(['rm', '-rf', self.git_checkout_path])
864 run_command(['git', 'config', key, value])
870 run_command(['git', 'commit', '-a', '-m', 'local commit'])
877 run_command(['git', 'commit', '-a', '-m', 'local commit'])
886 run_command(['git', 'checkout', '-b', new_branch])
887 self.assertEqual(run_command(['git', 'symbolic-ref', 'HEAD']).strip(), 'refs/heads/' + new_branch)
889 run_command(['git', 'checkout', '-b', 'bar'])
892 self.assertFalse(re.search(r'foo', run_command(['git', 'branch'])))
909 run_command(['svn', 'commit', '--message', 'commit to conflict with git commit'], cwd=self.svn_checkout_path)
913 run_command(['git', 'commit', '-a', '-m', 'commit to be thrown away by rebase abort'])
945 expected_commits += reversed(run_command(['git', 'rev-list', commit_range]).splitlines())
976 run_command(['git', 'add', 'test_file_commit1'])
981 svn_log = run_command(['git', 'svn', 'log', '--limit=1', '--verbose'])
986 run_command(['git', 'add', filename])
995 run_command(['git', 'add', 'test_file_commit2'])
1016 svn_log = run_command(['git', 'svn', 'log', '--limit=1', '--verbose'])
1027 svn_log = run_command(['git', 'svn', 'log', '--limit=1', '--verbose'])
1038 svn_log = run_command(['git', 'svn', 'log', '--limit=1', '--verbose'])
1054 svn_log = run_command(['git', 'svn', 'log', '--limit=1', '--verbose'])
1066 svn_log = run_command(['git', 'svn', 'log', '--limit=1', '--verbose'])
1083 svn_log = run_command(['git', 'svn', 'log', '--limit=1', '--verbose'])
1095 svn_log = run_command(['git', 'svn', 'log', '--limit=1', '--verbose'])
1100 run_command(['git', 'checkout', '-b', 'my-branch', 'trunk~3'])
1108 svn_log = run_command(['git', 'svn', 'log', '--limit=1', '--verbose'])
1114 run_command(['git', 'checkout', '-b', 'my-branch', 'trunk~3'])
1149 run_command(['git', 'checkout', '-b', 'dummy-branch', 'trunk~3'])
1151 run_command(['git', 'merge', 'trunk'])
1202 run_command(['git', 'checkout', '-b', 'my-branch', 'trunk~3'])
1217 run_command(['git', 'add', test_file_name])
1223 run_command(['git', 'rm', '-f', test_file_name])
1230 run_command(['git', 'add', test_file_name])
1231 run_command(['git', 'commit', '-m', 'binary diff'])
1273 run_command(['git', 'checkout', '-b', 'my-branch', 'trunk~3'])
1282 run_command(['git', 'checkout', '-b', 'my-branch', 'trunk~3'])
1360 expected_stderr = "MOCK run_command: ['git', 'merge-base', u'refs/remotes/origin/master', 'HEAD']\nMOCK run_command: ['git', 'diff', '--binary', '--no-ext-diff', '--full-index', '-M', 'MOCK output of child process', '--']\n"