Skip to content

Commit cc1688e

Browse files
committed
OpTestHMIhandling: Fix the HMI handling for Power8
The commit 4fd2225 mistakenly disables HMI tests for Power8. This is because the 'else' condition got under wrong 'if'. This patch fixes that. Fixes: 4fd2225 ("OpTestHMIHandling: opal-gard interactive support") Signed-off-by: Mahesh Salgaonkar <[email protected]>
1 parent e4e3859 commit cc1688e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

testcases/OpTestHMIHandling.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,8 @@ def setUp(self):
8484
.format(self.cpu, self.revision))
8585
raise unittest.SkipTest("HMIHandling not supported on CPU={} Revision={}"
8686
.format(self.cpu, self.revision))
87-
else:
88-
log.debug("Skipping, HMIHandling NOT supported on CPU={} Revision={}"
89-
.format(self.cpu, self.revision))
90-
raise unittest.SkipTest("HMIHandling not supported on CPU={} Revision={}"
91-
.format(self.cpu, self.revision))
92-
log.debug("Setting up to run HMIHandling on CPU={} Revision={}".format(self.cpu, self.revision))
87+
88+
log.debug("Setting up to run HMIHandling on CPU={} Revision={}".format(self.cpu, self.revision))
9389

9490
def clear_stop(self):
9591
self.cv_SYSTEM.stop = 0

0 commit comments

Comments
 (0)