diff options
author | Muhammad Omair Javaid <omair.javaid@linaro.org> | 2023-05-16 00:09:13 +0400 |
---|---|---|
committer | Muhammad Omair Javaid <omair.javaid@linaro.org> | 2023-05-16 00:14:20 +0400 |
commit | 039b28e14e6d5a4b9b9b333695dabe9dc57233b0 (patch) | |
tree | 9f25d62a5e2bc6d2ff44ac18ccaa52b7fdb4310d /lldb/packages | |
parent | cd3ff251f27d4465b69c0893357b508a06313053 (diff) | |
download | llvm-039b28e14e6d5a4b9b9b333695dabe9dc57233b0.tar.gz |
[LLDB] Fix TestDataFormatterSynthVal.py for AArch64/Windows
Since 44363f2 various tests have started passing but introduced a
expression evaluation failure in TestDataFormatterSynthVal.py.
This patch marks the expression evaluation part as skipped while rest
of the test passes.
This patch aslo introduces a new helper isAArch64Windows in lldbtest.py.
Diffstat (limited to 'lldb/packages')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/lldbtest.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py index 31539f6a768b..0ca0fac7bb3f 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbtest.py +++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py @@ -1252,6 +1252,13 @@ class Base(unittest2.TestCase): return True return self.isAArch64() and "paca" in self.getCPUInfo() + def isAArch64Windows(self): + """Returns true if the architecture is AArch64 and platform windows.""" + if self.getPlatform() == 'windows': + arch = self.getArchitecture().lower() + return arch in ["aarch64", "arm64", "arm64e"] + return False + def getArchitecture(self): """Returns the architecture in effect the test suite is running with.""" module = builder_module() |