diff options
author | Brett Chabot <brettchabot@google.com> | 2009-05-05 12:47:09 -0700 |
---|---|---|
committer | Brett Chabot <brettchabot@google.com> | 2009-05-05 15:32:46 -0700 |
commit | 3ec9f33d42376cbdc2297cb4b205b456311cf46a (patch) | |
tree | 518c50724543d895c8e6fd12ab33bce19c457d4f /envsetup.sh | |
parent | 6062815e2e5db38ad90d580782bd733e23d027f2 (diff) | |
download | build-3ec9f33d42376cbdc2297cb4b205b456311cf46a.zip build-3ec9f33d42376cbdc2297cb4b205b456311cf46a.tar.gz build-3ec9f33d42376cbdc2297cb4b205b456311cf46a.tar.bz2 |
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 b8045a5..541bb11 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -944,18 +944,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 () { |