summaryrefslogtreecommitdiff
path: root/test-cli/test_main.py
diff options
context:
space:
mode:
Diffstat (limited to 'test-cli/test_main.py')
-rw-r--r--test-cli/test_main.py4
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")