[Lldb-commits] [lldb] 95a1305 - [lldb] [test] Skip AVX lldb-server test on non-x86 architectures
Michał Górny via lldb-commits
lldb-commits at lists.llvm.org
Mon Mar 1 07:24:38 PST 2021
Author: Michał Górny
Date: 2021-03-01T16:23:36+01:00
New Revision: 95a1305fb4058ef4925fea181f4664ce266337d6
URL: https://github.com/llvm/llvm-project/commit/95a1305fb4058ef4925fea181f4664ce266337d6
DIFF: https://github.com/llvm/llvm-project/commit/95a1305fb4058ef4925fea181f4664ce266337d6.diff
LOG: [lldb] [test] Skip AVX lldb-server test on non-x86 architectures
Skip the AVX-related lldb-server test on non-x86 architectures, as they
do not support AVX. While technically the test worked on Linux because
the AVX check would simply return false, other platforms do not provide
such a straightforward way of checking for AVX (especially remotely),
and the results of such check may need to be interpreted specially
for the platform in question.
Differential Revision: https://reviews.llvm.org/D97450
Added:
Modified:
lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
Removed:
################################################################################
diff --git a/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py b/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
index d93dc48f3372..3ffdf5f052a9 100644
--- a/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
+++ b/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
@@ -208,6 +208,7 @@ def targetHasAVX(self):
return " avx " in cpuinfo
@expectedFailureAll(oslist=["windows"]) # no avx for now.
+ @skipIf(archs=no_match(['amd64', 'i386', 'x86_64']))
@add_test_categories(["llgs"])
def test_qRegisterInfo_contains_avx_registers(self):
self.build()
More information about the lldb-commits
mailing list