Yet another fix in low-level scripts involving command_executer changes.
Fixed run_tests.py.
Also added options in the nightly client for debugging it. It can use a local p4 checkout instead of creating a new client for faster iteration.
PRESUBMIT=passed
R=raymes,bjanakiraman
DELTA=46 (22 added, 14 deleted, 10 changed)
OCL=45701-p2
RCL=45709-p2
RDATE=2010/12/08 17:00:37
P4 change: 42606965
diff --git a/v14/run_tests.py b/v14/run_tests.py
index 08d3a48..54a144f 100755
--- a/v14/run_tests.py
+++ b/v14/run_tests.py
@@ -14,9 +14,6 @@
import sys
from utils import command_executer
-# Common initializations
-cmd_executer = command_executer.GetCommandExecuter()
-
def Main():
"""The main function."""
@@ -51,7 +48,7 @@
" --board=" + board +
" " + tests)
- retval = cmd_executer.RunCommand(command)
+ retval = command_executer.GetCommandExecuter().RunCommand(command)
return retval
if __name__ == "__main__":