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:
parent
64d5a80706
commit
3fb149d2cb
|
@ -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 () {
|
||||
|
|
Loading…
Reference in New Issue