@@ -225,7 +225,7 @@ def parse(self, line):
225
225
raise Exception ('Unisoc FW Download Failed.' )
226
226
227
227
228
- class _360WExecutor (BaseExecutor ):
228
+ class _FCM360WExecutor (BaseExecutor ):
229
229
230
230
def parse (self , line ):
231
231
try :
@@ -241,7 +241,7 @@ def parse(self, line):
241
241
elif data ['Status' ] == 'Finished' and data ['Message' ] == 'Success' :
242
242
return line , 100
243
243
else :
244
- raise Exception ('360W Download Failed!' )
244
+ raise Exception ('FCM360W Download Failed!\n {}' . format ( line . strip ()) )
245
245
246
246
247
247
class _EIGENExecutor (BaseExecutor ):
@@ -392,7 +392,7 @@ def progress_rate(self):
392
392
logger .info (line )
393
393
self .parse (line )
394
394
yield line , self .progress
395
- yield 100
395
+ yield line , 100
396
396
397
397
def parse (self , line ):
398
398
if "RtsConditionAssign" in line :
@@ -407,19 +407,26 @@ def run_cmd(cmd, platform, cwd, **extra):
407
407
logger .info ('enter run_cmd method, args: {}' .format ((cmd , platform , cwd ,)))
408
408
409
409
if platform .upper () in ["ASR" , "ASR1601" , "ASR1606" ]:
410
+ # EC600M-CNLA test passed with `EC600MCNLAR01A01M08_XBND_OCPU_QPY_BETA0831`
410
411
executor = _AsrExecutor (cmd , cwd )
411
412
elif platform .upper () in ["UNISOC" , "UNISOC8910" , "UNISOC8850" ]:
413
+ # EG912U-GLAA test passed with `QPY_BETA0001_EG912U_GLAA_FW`
412
414
executor = _UnisocExecutor (cmd , cwd )
413
415
elif platform .upper () == "RDA8908A" :
416
+ # BC25PA test passed with `QPY_V0003_BC25PA_FW`
414
417
executor = _NBExecutor (cmd , cwd )
415
418
elif platform .upper () == "ASR1803S" :
419
+ # EC200A-EUHA test passed with `QPY_V0002_EC200A_AUHA_FW` and `QPY_V0003_EC200A_AUHA_FW`
416
420
executor = _200AExecutor (cmd , cwd )
417
421
elif platform .upper () == "MDM9X05" :
422
+ # BG95M3-LA test passed with `QPY_OCPU_BETA0002_BG95M3_FW` and `QPY_OCPU_BETA0003_BG95M3_FW`
418
423
executor = _BG95Executor (cmd , cwd )
419
424
elif platform .upper () == "EIGEN" :
425
+ # EC800E-CNLC test passed with `EC800ECNLCR02A01M04_OCPU_QPY_BETA0713`
420
426
executor = _EIGENExecutor (cmd , cwd , ** extra )
421
427
elif platform .upper () == "FCM360W" :
422
- executor = _360WExecutor (cmd , cwd )
428
+ # FCM360WAAMD-OP-04 test passed with `QPY_OCPU_BETA0001_FCM360W_FW`
429
+ executor = _FCM360WExecutor (cmd , cwd )
423
430
else :
424
431
pass
425
432
0 commit comments