From a9a054f5a5cbcf1581b6a56662a8bad49cf8e0a5 Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Mon, 20 Jul 2020 14:15:39 -0700 Subject: [PATCH] [Test] TSan tests work on Apple Silicon, skip them based on platform, not arch. --- .../tsan/swift-access-race/TestTsanSwiftAccessRace.py | 2 +- lldb/test/API/functionalities/tsan/swift/TestTsanSwift.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/test/API/functionalities/tsan/swift-access-race/TestTsanSwiftAccessRace.py b/lldb/test/API/functionalities/tsan/swift-access-race/TestTsanSwiftAccessRace.py index 40d07dbd96c10..919c04de462d4 100644 --- a/lldb/test/API/functionalities/tsan/swift-access-race/TestTsanSwiftAccessRace.py +++ b/lldb/test/API/functionalities/tsan/swift-access-race/TestTsanSwiftAccessRace.py @@ -30,7 +30,7 @@ class TsanSwiftAccessRaceTestCase(lldbtest.TestBase): @skipIfLinux @skipUnlessSwiftThreadSanitizer @skipIfAsan # This test does not behave reliable with an ASANified LLDB. - @expectedFailureAll(archs=['arm64']) + @skipIfDarwinEmbedded def test_tsan_swift(self): self.build() self.do_test() diff --git a/lldb/test/API/functionalities/tsan/swift/TestTsanSwift.py b/lldb/test/API/functionalities/tsan/swift/TestTsanSwift.py index 42115486a69ec..88408c5f24a17 100644 --- a/lldb/test/API/functionalities/tsan/swift/TestTsanSwift.py +++ b/lldb/test/API/functionalities/tsan/swift/TestTsanSwift.py @@ -29,7 +29,7 @@ class TsanSwiftTestCase(lldbtest.TestBase): @skipIfLinux @skipUnlessSwiftThreadSanitizer @skipIfAsan # This test does not behave reliable with an ASANified LLDB. - @expectedFailureAll(archs=['arm64']) + @skipIfDarwinEmbedded def test_tsan_swift(self): self.build() self.do_test()