Changed 'Header Message' to return list of generated files.
It is important for FFDC functions to return a complete list of
generated files rather than leaving the caller to guess what files were
created or have to go searching for them.
Change-Id: Id20b0285add749ef38d67f40995a41bef54f3d37
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/lib/openbmc_ffdc_utils.robot b/lib/openbmc_ffdc_utils.robot
index 1779959..a2efabe 100644
--- a/lib/openbmc_ffdc_utils.robot
+++ b/lib/openbmc_ffdc_utils.robot
@@ -62,7 +62,8 @@
Header Message
- [Documentation] Write header message to the report document manifest.
+ [Documentation] Write header message to the report document manifest
+ ... and return a list of generated files.
... TEST_NAME, TEST_MESSAGE,SUITE_SOURCE,TEST_DOCUMENTATION
... are auto variables and are populated dynamically by the
... robot framework during execution
@@ -91,6 +92,8 @@
\ Write Data To File ${\n}
Write Data To File ${MSG_DETAIL}
+ ${ffdc_file_list}= Create List ${FFDC_FILE_PATH}
+ [Return] ${ffdc_file_list}
Write Cmd Output to FFDC File