aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/lldbtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/lldbtest.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py
index af8d24e..fefe914 100644
--- a/lldb/packages/Python/lldbsuite/test/lldbtest.py
+++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py
@@ -1275,9 +1275,8 @@ class Base(unittest2.TestCase):
# smefa64 allows the use of the full A64 instruction set in streaming
# mode. This is required by certain test programs to setup register
# state.
- return self.isAArch64SME() and set(["sme", "smefa64"]).issuperset(
- set(self.getCPUInfo())
- )
+ cpuinfo = self.getCPUInfo()
+ return self.isAArch64() and "sme" in cpuinfo and "smefa64" in cpuinfo
def isAArch64MTE(self):
return self.isAArch64() and "mte" in self.getCPUInfo()