diff options
author | Android (Google) Code Review <android-gerrit@google.com> | 2009-05-06 16:43:54 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-05-06 16:43:54 -0700 |
commit | 2990dc7d5e36232c9bed4e13d09b4c2a1986856d (patch) | |
tree | 4e6e471cd029c3b75a6d64a293a9e0447d618c23 /envsetup.sh | |
parent | 1241feb8f831377cc56a448f2ff214c18b689331 (diff) | |
parent | a3896fbc15d32881d87e1ae8b7c6e2e7523008c7 (diff) | |
download | build-2990dc7d5e36232c9bed4e13d09b4c2a1986856d.zip build-2990dc7d5e36232c9bed4e13d09b4c2a1986856d.tar.gz build-2990dc7d5e36232c9bed4e13d09b4c2a1986856d.tar.bz2 |
am a3896fb: Merge change 1001 into donut
Merge commit 'a3896fbc15d32881d87e1ae8b7c6e2e7523008c7'
* commit 'a3896fbc15d32881d87e1ae8b7c6e2e7523008c7':
Change runtest env shortcut to point to runtest.py
Diffstat (limited to 'envsetup.sh')
-rw-r--r-- | envsetup.sh | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/envsetup.sh b/envsetup.sh index 5b13eab..81163c4 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -945,18 +945,14 @@ function runtest() echo "Couldn't locate the top of the tree. Try setting TOP." >&2 return fi - (cd "$T" && development/tools/runtest $@) + (cd "$T" && development/testrunner/runtest.py $@) } -# simple shortcut to the runtest.py command +# TODO: Remove this some time after 1 June 2009 function runtest_py() { - T=$(gettop) - if [ ! "$T" ]; then - echo "Couldn't locate the top of the tree. Try setting TOP." >&2 - return - fi - (cd "$T" && development/testrunner/runtest.py $@) + echo "runtest_py is obsolete; use runtest instead" >&2 + return 1 } function godir () { |