Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Side by Side Diff: tests/test-lib.sh

Issue 2298893002: Roll recipe dependencies (MANUAL). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « infra/config/recipes.cfg ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env bash 1 #!/usr/bin/env bash
2 2
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Abort on error. 7 # Abort on error.
8 set -e 8 set -e
9 9
10 export DEPOT_TOOLS_UPDATE=0 10 export DEPOT_TOOLS_UPDATE=0
11 export PYTHONUNBUFFERED=
11 12
12 PWD=$(pwd) 13 PWD=$(pwd)
13 REPO_URL=file://$PWD/svnrepo 14 REPO_URL=file://$PWD/svnrepo
14 TRUNK_URL=$REPO_URL/trunk 15 TRUNK_URL=$REPO_URL/trunk
15 BRANCH_URL=$REPO_URL/branches/some_branch 16 BRANCH_URL=$REPO_URL/branches/some_branch
16 GITREPO_PATH=$PWD/gitrepo 17 GITREPO_PATH=$PWD/gitrepo
17 GITREPO_URL=file://$GITREPO_PATH 18 GITREPO_URL=file://$GITREPO_PATH
18 PATH="$(dirname $PWD):$PATH" 19 PATH="$(dirname $PWD):$PATH"
19 GIT_CL=$(dirname $PWD)/git-cl 20 GIT_CL=$(dirname $PWD)/git-cl
20 GIT_CL_STATUS="$GIT_CL status -f" 21 GIT_CL_STATUS="$GIT_CL status -f"
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 return $exit_code 146 return $exit_code
146 fi 147 fi
147 } 148 }
148 149
149 # Grab the XSRF token from the review server and print it to stdout. 150 # Grab the XSRF token from the review server and print it to stdout.
150 print_xsrf_token() { 151 print_xsrf_token() {
151 curl --cookie dev_appserver_login="test@example.com:False" \ 152 curl --cookie dev_appserver_login="test@example.com:False" \
152 --header 'X-Requesting-XSRF-Token: 1' \ 153 --header 'X-Requesting-XSRF-Token: 1' \
153 http://localhost:10000/xsrf_token 2>/dev/null 154 http://localhost:10000/xsrf_token 2>/dev/null
154 } 155 }
OLDNEW
« no previous file with comments | « infra/config/recipes.cfg ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698