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

Unified Diff: tests/tbr.sh

Issue 7253015: Remove manual --tbr support and convert it into automatic TBR= detection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: removed tests/tbr.sh Created 9 years, 5 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 side-by-side diff with in-line comments
Download patch
« presubmit_canned_checks.py ('K') | « tests/presubmit_unittest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/tbr.sh
diff --git a/tests/tbr.sh b/tests/tbr.sh
deleted file mode 100755
index d6caf69fbc5e247396409d11e8e0da6457a48d51..0000000000000000000000000000000000000000
--- a/tests/tbr.sh
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-# Tests the "tbr" functionality, which lets you submit without uploading
-# first.
-
-set -e
-
-. ./test-lib.sh
-
-setup_initsvn
-setup_gitsvn
-
-(
- set -e
- cd git-svn
-
- # We need a server set up, but we don't use it.
- git config rietveld.server localhost:1
-
- echo "some work done" >> test
- git add test; git commit -q -m "work"
-
- test_expect_success "git-cl dcommit tbr without an issue" \
- "$GIT_CL dcommit -f --tbr -m 'foo-quux'"
-
- git svn -q rebase >/dev/null 2>&1
- test_expect_success "dcommitted code has proper description" \
- "git show | grep -q 'foo-quux'"
-
- test_expect_success "upstream svn has our commit" \
- "svn log $REPO_URL 2>/dev/null | grep -q 'foo-quux'"
-)
-SUCCESS=$?
-
-cleanup
-
-if [ $SUCCESS == 0 ]; then
- echo PASS
-fi
« presubmit_canned_checks.py ('K') | « tests/presubmit_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698