|
From: <qh...@us...> - 2010-02-24 09:43:25
|
Revision: 1897
http://edk2-buildtools.svn.sourceforge.net/edk2-buildtools/?rev=1897&view=rev
Author: qhuang8
Date: 2010-02-24 09:43:15 +0000 (Wed, 24 Feb 2010)
Log Message:
-----------
1. Remove unconditionally build report for build tools stable snapshot candidate
2. Add debug print trace for the execution of EOT tool
Modified Paths:
--------------
trunk/BaseTools/Source/Python/build/BuildReport.py
Modified: trunk/BaseTools/Source/Python/build/BuildReport.py
===================================================================
--- trunk/BaseTools/Source/Python/build/BuildReport.py 2010-02-24 09:18:03 UTC (rev 1896)
+++ trunk/BaseTools/Source/Python/build/BuildReport.py 2010-02-24 09:43:15 UTC (rev 1897)
@@ -897,12 +897,15 @@
# Parse the output of EOT tool
#
for Line in open(DispatchList):
+ if len(Line.split()) < 4:
+ continue
(Guid, Phase, FfsName, FilePath) = Line.split()
Symbol = self._FfsEntryPoint.get(Guid, [FfsName, ""])[0]
if len(Symbol) > self.MaxLen:
self.MaxLen = len(Symbol)
self.ItemList.append((Phase, Symbol, FilePath))
except:
+ EdkLogger.quiet("(Python %s on %s\n%s)" % (platform.python_version(), sys.platform, traceback.format_exc()))
EdkLogger.warn(None, "Failed to generate execution order prediction report, for some error occurred in executing EOT.")
@@ -1366,14 +1369,6 @@
# @param ReportType The kind of report items in the final report file
#
def __init__(self, ReportFile, ReportType):
- #
- # @attention Temporarily turn on the report feature unconditionally for
- # code coverage on different platform build validations.
- # This should be removed after the verification is over
- #
- if not ReportFile:
- ReportFile = "Report.txt"
-
self.ReportFile = ReportFile
if ReportFile:
self.ReportList = []
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|