Enable debug tarball on BMC
Two aspects of this change are:
Code update:
- Install debug tarball post code update.
- TBD: add parameter in code update jenkins job to take user
input.
CT run:
- Install debug tarball part of the __init__ setup procedure.
- TBD: add parameter in CT jenkins job to take user input.
- For manual test, users need to specify the debug tarball as
an input.
Test automation code must handle respectively if it has dependencies on
debug tarball binary as part of the "Suite Setup" or "Test Setup".
Resolves openbmc/openbmc-test-automation#461
Change-Id: Idc6f976776ad57a797cff428c840c133fc41ad8a
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/tests/__init__.robot b/tests/__init__.robot
index cf6a589..65d17e3 100644
--- a/tests/__init__.robot
+++ b/tests/__init__.robot
@@ -22,6 +22,9 @@
Run Keyword And Ignore Error Log PNOR Driver Details
Run Keyword And Ignore Error Log BMC Model
Run Keyword And Ignore Error Enable Core Dump On BMC
+ Run Keyword If '${DEBUG_TARBALL_PATH}' != '${EMPTY}'
+ ... Run Keyword And Ignore Error
+ ... Install Debug Tarball On BMC ${DEBUG_TARBALL_PATH}
Log BMC Driver Details
[Documentation] Get BMC driver details and log.