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

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

Issue 9283041: Stop synching depot_tools on each git-cl invocation in git-cl tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 8 years, 11 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 | « no previous file | 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 #!/bin/bash 1 #!/bin/bash
2 2
3 # Abort on error. 3 # Abort on error.
4 set -e 4 set -e
5 5
6 export DEPOT_TOOLS_UPDATE=0
7
6 PWD=`pwd` 8 PWD=`pwd`
7 REPO_URL=file://$PWD/svnrepo 9 REPO_URL=file://$PWD/svnrepo
8 TRUNK_URL=$REPO_URL/trunk 10 TRUNK_URL=$REPO_URL/trunk
9 BRANCH_URL=$REPO_URL/branches/some_branch 11 BRANCH_URL=$REPO_URL/branches/some_branch
10 GITREPO_PATH=$PWD/gitrepo 12 GITREPO_PATH=$PWD/gitrepo
11 GITREPO_URL=file://$GITREPO_PATH 13 GITREPO_URL=file://$GITREPO_PATH
12 GIT_CL=$PWD/../git-cl 14 GIT_CL=$PWD/../git-cl
13 15
14 # Set up an SVN repo that has a few commits to trunk. 16 # Set up an SVN repo that has a few commits to trunk.
15 setup_initsvn() { 17 setup_initsvn() {
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 return $exit_code 98 return $exit_code
97 fi 99 fi
98 } 100 }
99 101
100 # Grab the XSRF token from the review server and print it to stdout. 102 # Grab the XSRF token from the review server and print it to stdout.
101 print_xsrf_token() { 103 print_xsrf_token() {
102 curl --cookie dev_appserver_login="test@example.com:False" \ 104 curl --cookie dev_appserver_login="test@example.com:False" \
103 --header 'X-Requesting-XSRF-Token: 1' \ 105 --header 'X-Requesting-XSRF-Token: 1' \
104 http://localhost:8080/xsrf_token 2>/dev/null 106 http://localhost:8080/xsrf_token 2>/dev/null
105 } 107 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698