149 sbs_command = self.sbsCommand() |
149 sbs_command = self.sbsCommand() |
150 commands = [sbs_command, "-s", configFile] |
150 commands = [sbs_command, "-s", configFile] |
151 commands += ["--logfile=-"] # send output to stdout |
151 commands += ["--logfile=-"] # send output to stdout |
152 if self.iOptions.keepgoing: |
152 if self.iOptions.keepgoing: |
153 commands += ["--keepgoing"] |
153 commands += ["--keepgoing"] |
154 if len(remainingArgs)>0 and remainingArgs[0]=="winscw": |
154 if testBuild: |
|
155 commands += ["--config=winscw.test"] |
|
156 else: |
|
157 commands += ["--config=winscw"] |
|
158 if not(len(remainingArgs)>0 and remainingArgs[0]=="winscw"): |
|
159 # not the winscw scenario - we want both winscw and armv5 |
155 if testBuild: |
160 if testBuild: |
156 commands += ["--config=winscw.test"] |
161 commands += ["--config=armv5.test"] |
157 else: |
162 else: |
158 commands += ["--config=winscw"] |
163 commands += ["--config=armv5"] |
159 else: |
|
160 if testBuild: |
|
161 commands += ["--config=default.test"] |
|
162 commands += ["--filters=FilterSquashLog"] # reduce log size |
164 commands += ["--filters=FilterSquashLog"] # reduce log size |
163 commands += ["--tries=2"] # retry on failure - e.g. for license fails |
165 commands += ["--tries=2"] # retry on failure - e.g. for license fails |
164 commands += ["build"] |
166 commands += ["build"] |
165 self.DebugPrint("""command="%s" """ % str(commands)) |
167 self.DebugPrint("""command="%s" """ % str(commands)) |
166 print "------------------ sbs start : %s" % str(commands) |
168 print "------------------ sbs start : %s" % str(commands) |