Skip to content

Commit 4e01bde

Browse files
authored
Merge pull request #467 from ahoppen/pr/disable-crash-recovery-tests
Disable crash recovery tests
2 parents 6295529 + 7a4b027 commit 4e01bde

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Tests/SourceKitDTests/CrashRecoveryTests.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ final class CrashRecoveryTests: XCTestCase {
4343
func testSourcekitdCrashRecovery() throws {
4444
try XCTSkipUnless(isDarwinHost, "Linux and Windows use in-process sourcekitd")
4545
try XCTSkipUnless(longTestsEnabled)
46+
try XCTSkipIf(true, "Causing memory corruption issues on Linux - rdar://90238939")
4647

4748
let ws = try! staticSourceKitTibsWorkspace(name: "sourcekitdCrashRecovery")!
4849
let loc = ws.testLoc("loc")
@@ -153,6 +154,7 @@ final class CrashRecoveryTests: XCTestCase {
153154

154155
func testClangdCrashRecovery() throws {
155156
try XCTSkipUnless(longTestsEnabled)
157+
try XCTSkipIf(true, "Causing memory corruption issues on Linux - rdar://90238939")
156158

157159
let ws = try! staticSourceKitTibsWorkspace(name: "ClangCrashRecovery")!
158160
let loc = ws.testLoc("loc")
@@ -190,6 +192,7 @@ final class CrashRecoveryTests: XCTestCase {
190192

191193
func testClangdCrashRecoveryReopensWithCorrectBuildSettings() throws {
192194
try XCTSkipUnless(longTestsEnabled)
195+
try XCTSkipIf(true, "Causing memory corruption issues on Linux - rdar://90238939")
193196

194197
let ws = try! staticSourceKitTibsWorkspace(name: "ClangCrashRecoveryBuildSettings")!
195198
let loc = ws.testLoc("loc")
@@ -223,6 +226,7 @@ final class CrashRecoveryTests: XCTestCase {
223226

224227
func testPreventClangdCrashLoop() throws {
225228
try XCTSkipUnless(longTestsEnabled)
229+
try XCTSkipIf(true, "Causing memory corruption issues on Linux - rdar://90238939")
226230

227231
let ws = try! staticSourceKitTibsWorkspace(name: "ClangCrashRecovery")!
228232
let loc = ws.testLoc("loc")

0 commit comments

Comments
 (0)