Added skip list for running inband and out-of-band IPMI tests
Change-Id: I782471c8ed75b38a1442841e1db85ae7f24e1260
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/README.md b/README.md
index fcde3f0..febd236 100644
--- a/README.md
+++ b/README.md
@@ -209,6 +209,20 @@
Witherspoon: test_lists/skip_test_witherspoon
```
+
+* Run IPMI tests:
+
+ Running only out-of-band IPMI tests:
+ ```
+ $ robot -v IPMI_COMMAND:External -v OPENBMC_HOST:x.x.x.x --argumentfile test_lists/witherspoon/skip_inband_ipmi tests/ipmi/
+ ```
+
+ Running only inband IPMI tests:
+ ```
+ $ robot -v IPMI_COMMAND:Inband -v OPENBMC_HOST:x.x.x.x -v OS_HOST:x.x.x.x -v OS_USERNAME:xxxx -v OS_PASSWORD:xxxx --argumentfile test_lists/witherspoon/skip_oob_ipmi tests/ipmi/
+ ```
+
+
* Run GUI tests:
By default, GUI runs with Firefox browser and headless mode. Example with chrome browser and header mode:
diff --git a/test_lists/witherspoon/skip_inband_ipmi b/test_lists/witherspoon/skip_inband_ipmi
new file mode 100755
index 0000000..2ce4553
--- /dev/null
+++ b/test_lists/witherspoon/skip_inband_ipmi
@@ -0,0 +1,5 @@
+#Skipping inband IPMI test cases to run all out-of-band IPMI test cases
+-e Verify_Disabling_And_Enabling_IPMI_Via_Host
+-e Verify_Disabling_IPMI_Via_OOB_IPMI
+-e Verify_IPMI_Disable_Persistency_After_BMC_Reboot
+-e eSEL_Logging
diff --git a/test_lists/witherspoon/skip_oob_ipmi b/test_lists/witherspoon/skip_oob_ipmi
new file mode 100755
index 0000000..650b7c3
--- /dev/null
+++ b/test_lists/witherspoon/skip_oob_ipmi
@@ -0,0 +1,5 @@
+#Skipping out-of-band IPMI test cases to run all inband IPMI test cases
+-e Verify_Disabling_And_Enabling_IPMI_Via_Host
+-e Verify_Disabling_IPMI_Via_OOB_IPMI
+-e Verify_IPMI_Disable_Persistency_After_BMC_Reboot
+-e SOL_Test
diff --git a/tests/ipmi/test_sol.robot b/tests/ipmi/test_sol.robot
index 1de0df6..25d56c8 100644
--- a/tests/ipmi/test_sol.robot
+++ b/tests/ipmi/test_sol.robot
@@ -8,6 +8,9 @@
Test Setup Start SOL Console Logging
Test Teardown Test Teardown Execution
+Force Tags SOL_Test
+
+
*** Variables ***
*** Test Cases ***