CoreValidation: Changed UV4 execution to use uVision.com instead of uv4.exe.
@@ -11,21 +11,12 @@ class Uv4Cmd(BuildCmd):
BuildCmd.__init__(self, env=env)
self._project = project
self._config = config
- cwd = os.getcwd()
- trans = { " " : "_", "(" : None, ")" : None, "[" : None, "]" : None, "," : None }
- self._log = cwd + "\\UV4_{0}_{1}.log".format(self._config.translate(trans), datetime.now().strftime("%Y%m%d%H%M%S"))
def getCommand(self):
- return "UV4.exe"
+ return "uVision.com"
def getArguments(self):
- return [ "-t", self._config, "-r", self._project, "-j0", "-o", self._log ]
+ return [ "-t", self._config, "-r", self._project, "-j0" ]
def isSuccess(self):
return self._result <= 1
-
- def getLog(self):
- try:
- return open(self._log, "r")
- except:
- return None
