Fix teardown directive for poweron
The test teardown directive override the generic test teardown due
to locality and robot preference execution. This allows the poweron
to collect SOL and ffdc in the test.
Resolves openbmc/openbmc-test-automation#973
Change-Id: I627bea56436adfecaf26f54aaa897a9e231bcd8c
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/extended/code_update/host_code_update.robot b/extended/code_update/host_code_update.robot
index 7f87d1d..6d250bd 100644
--- a/extended/code_update/host_code_update.robot
+++ b/extended/code_update/host_code_update.robot
@@ -54,7 +54,8 @@
Post Update Boot To OS
[Documentation] Boot the host OS
[Tags] Post_Update_Boot_To_OS
- [Teardown] Stop SOL Console Logging
+ [Teardown] Run Keywords Stop SOL Console Logging
+ ... AND Code Update Test Teardown
Run Keyword If '${PREV_TEST_STATUS}' == 'FAIL'
... Fail Code update failed. No need to boot to OS.