Merge change 1001 into donut

* changes:
  Change runtest env shortcut to point to runtest.py
This commit is contained in:
Android (Google) Code Review
2009-05-06 10:30:41 -07:00

View File

@@ -944,18 +944,14 @@ function runtest()
echo "Couldn't locate the top of the tree. Try setting TOP." >&2 echo "Couldn't locate the top of the tree. Try setting TOP." >&2
return return
fi 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() function runtest_py()
{ {
T=$(gettop) echo "runtest_py is obsolete; use runtest instead" >&2
if [ ! "$T" ]; then return 1
echo "Couldn't locate the top of the tree. Try setting TOP." >&2
return
fi
(cd "$T" && development/testrunner/runtest.py $@)
} }
function godir () { function godir () {