From 3fb149d2cb8eaa48fe2602a85a329d6f3d56f510 Mon Sep 17 00:00:00 2001 From: Brett Chabot Date: Wed, 21 Oct 2009 20:05:26 -0700 Subject: [PATCH] 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 --- envsetup.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/envsetup.sh b/envsetup.sh index 9eeab02e2..a32d0b2c2 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -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 () {