diff options
author | Hector Fernandez <hector@iatec.biz> | 2020-03-13 12:36:14 +0100 |
---|---|---|
committer | Hector Fernandez <hector@iatec.biz> | 2020-03-19 21:31:03 +0100 |
commit | 71d9a1f0b6bb4389cb9b0760ce4e847574fdcd45 (patch) | |
tree | beac8d6a6f79a1570295cc6abfad0dd15f112029 /test-cli/test_main.py | |
parent | e74e0a36d9ad6a01c04500f3a24cb0ef5dd0b283 (diff) | |
download | board-71d9a1f0b6bb4389cb9b0760ce4e847574fdcd45.zip board-71d9a1f0b6bb4389cb9b0760ce4e847574fdcd45.tar.gz board-71d9a1f0b6bb4389cb9b0760ce4e847574fdcd45.tar.bz2 |
SOPA0000 test: Saved the variable data used during the eeprom and nand flashing.
Diffstat (limited to 'test-cli/test_main.py')
-rw-r--r-- | test-cli/test_main.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test-cli/test_main.py b/test-cli/test_main.py index 6681d4e..43a5b67 100644 --- a/test-cli/test_main.py +++ b/test-cli/test_main.py @@ -145,7 +145,7 @@ def main(): mac0 = psdbObj.get_board_macaddr(globalVar.g_uuid) resulteeprom = flash_eeprom(varlist["eeprompath"], globalVar.g_uuid, mac0) psdbObj.create_task_result(globalVar.taskid_ctl, "FLASHEEPROM", - "TASK_OK" if resulteeprom == 0 else "TASK_FAIL") + "TASK_OK" if resulteeprom == 0 else "TASK_FAIL", varlist["eeprompath"]) else: resulteeprom = 0 psdbObj.create_task_result(globalVar.taskid_ctl, "FLASHEEPROM", "TASK_SKIP") @@ -154,7 +154,7 @@ def main(): if "image" in varlist and len(varlist["image"]) > 0: resultmemory = flash_memory(varlist["image"]) psdbObj.create_task_result(globalVar.taskid_ctl, "FLASHMEMORY", - "TASK_OK" if resultmemory == 0 else "TASK_FAIL") + "TASK_OK" if resultmemory == 0 else "TASK_FAIL", varlist["image"]) else: resultmemory = 0 psdbObj.create_task_result(globalVar.taskid_ctl, "FLASHMEMORY", "TASK_SKIP") |