]> begriffs open source - cmsis/blob - CMSIS/CoreValidation/Tests/buildutils/uv4cmd.py
Aligned develop branch with master after release.
[cmsis] / CMSIS / CoreValidation / Tests / buildutils / uv4cmd.py
1 #! python
2
3 import os
4 import shutil
5 from buildcmd import BuildCmd
6 from datetime import datetime
7
8 class Uv4Cmd(BuildCmd):
9
10   def __init__(self, project, config, env=os.environ):
11     BuildCmd.__init__(self, env=env)
12     self._project = project
13     self._config = config
14
15   def getCommand(self):
16     return "uVision.com"
17     
18   def getArguments(self):
19     return [ "-t", self._config, "-r", self._project, "-j0" ]
20   
21   def isSuccess(self):
22     return self._result <= 1