Skip to content

Commit 709acee

Browse files
omjavaidJDevlieghere
authored andcommitted
[LLDB] Skip python exception unit test on AArch64/Windows
This patch marks python exception test as skipped for AArch64/Windows platform. This is temporary to make LLDB WoA buildbot happy until a proper fix is found. (cherry picked from commit 21be357)
1 parent 2fd9697 commit 709acee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -788,6 +788,8 @@ main = foo
788788
testing::ContainsRegex("line 7, in baz"),
789789
testing::ContainsRegex("ZeroDivisionError")))));
790790

791+
#if !((defined(_WIN32) || defined(_WIN64)) && (defined(__aarch64__) || defined(_M_ARM64)))
792+
791793
static const char script2[] = R"(
792794
class MyError(Exception):
793795
def __str__(self):
@@ -804,6 +806,8 @@ def main():
804806
llvm::Failed<PythonException>(testing::Property(
805807
&PythonException::ReadBacktrace,
806808
testing::ContainsRegex("unprintable MyError"))));
809+
810+
#endif
807811
}
808812

809813
TEST_F(PythonDataObjectsTest, TestRun) {

0 commit comments

Comments
 (0)