From cc1688eaadce6de406fcee14207d6c60263cb638 Mon Sep 17 00:00:00 2001 From: Mahesh Salgaonkar Date: Tue, 26 Mar 2019 10:05:37 +0530 Subject: [PATCH] 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 --- testcases/OpTestHMIHandling.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/testcases/OpTestHMIHandling.py b/testcases/OpTestHMIHandling.py index 846499d09..2b34d9af6 100644 --- a/testcases/OpTestHMIHandling.py +++ b/testcases/OpTestHMIHandling.py @@ -84,12 +84,8 @@ def setUp(self): .format(self.cpu, self.revision)) raise unittest.SkipTest("HMIHandling not supported on CPU={} Revision={}" .format(self.cpu, self.revision)) - else: - log.debug("Skipping, HMIHandling NOT supported on CPU={} Revision={}" - .format(self.cpu, self.revision)) - raise unittest.SkipTest("HMIHandling not supported on CPU={} Revision={}" - .format(self.cpu, self.revision)) - log.debug("Setting up to run HMIHandling on CPU={} Revision={}".format(self.cpu, self.revision)) + + log.debug("Setting up to run HMIHandling on CPU={} Revision={}".format(self.cpu, self.revision)) def clear_stop(self): self.cv_SYSTEM.stop = 0