Added summarisation of results and generation of a report from results. Also miscellaneous fixes (command_executer, logger). Integration with the front end is not yet complete.

PRESUBMIT=passed
R=asharif,bjanakiraman
DELTA=321  (243 added, 15 deleted, 63 changed)
OCL=46555-p2
RCL=46573-p2
RDATE=2011/01/18 16:07:38


P4 change: 42608767
diff --git a/v14/build_tc.py b/v14/build_tc.py
index 5f2419a..6cc9ab3 100755
--- a/v14/build_tc.py
+++ b/v14/build_tc.py
@@ -62,7 +62,7 @@
 
   options = parser.parse_args(argv)[0]
 
-  if (options.clean == False and 
+  if (options.clean == False and
       (options.toolchain_root is None or options.board is None)):
     parser.print_help()
     sys.exit()
@@ -210,8 +210,9 @@
 
   if uninstall == True:
     command += " crossdev " + tflag + target
-    enter_chroot = chromeos_root + "/src/scripts/enter_chroot.sh"
-    retval = cmd_executer.RunCommand(enter_chroot + command)
+    retval = build_chromeos.ExecuteCommandInChroot(chromeos_root,
+                                                         toolchain_root,
+                                                         command)
     return retval
 
   if incremental_component == "binutils":