Remove 'cd top' step from envsetup runtest shortcut.

Instead, execute runtest as an absolute path. Ths is necessary to support
relative path based arguments in runtest. Bug 2133198
This commit is contained in:
Brett Chabot 2009-10-21 20:05:26 -07:00
parent 64d5a80706
commit 3fb149d2cb
1 changed files with 1 additions and 8 deletions

View File

@ -967,14 +967,7 @@ function runtest()
echo "Couldn't locate the top of the tree. Try setting TOP." >&2
return
fi
(cd "$T" && development/testrunner/runtest.py $@)
}
# TODO: Remove this some time after 1 June 2009
function runtest_py()
{
echo "runtest_py is obsolete; use runtest instead" >&2
return 1
("$T"/development/testrunner/runtest.py $@)
}
function godir () {