@@ -331,7 +331,7 @@ UnsafePointerTestSuite.test("customMirror") {
331
331
expectEqual(1, mirror.children.count)
332
332
#if arch(i386) || arch(arm)
333
333
expectEqual("18446744071562067968", String(mirror.children.first!.1))
334
- #elseif arch(x86_64) || arch(arm64) || arch(powerpc64) || arch(powerpc64le)
334
+ #elseif arch(x86_64) || arch(arm64) || arch(powerpc64) || arch(powerpc64le) || arch(s390x)
335
335
expectEqual("9223372036854775808", String(mirror.children.first!.1))
336
336
#else
337
337
fatalError("Unimplemented")
@@ -346,7 +346,7 @@ UnsafePointerTestSuite.test("customPlaygroundQuickLook") {
346
346
if case let .text(desc) = ptr.customPlaygroundQuickLook {
347
347
#if arch(i386) || arch(arm)
348
348
expectEqual("UnsafePointer(0xFFFFFFFF80000000)", desc)
349
- #elseif arch(x86_64) || arch(arm64) || arch(powerpc64) || arch(powerpc64le)
349
+ #elseif arch(x86_64) || arch(arm64) || arch(powerpc64) || arch(powerpc64le) || arch(s390x)
350
350
expectEqual("UnsafePointer(0x8000000000000000)", desc)
351
351
#else
352
352
fatalError("Unimplemented")
@@ -363,7 +363,7 @@ UnsafeMutablePointerTestSuite.test("customMirror") {
363
363
expectEqual(1, mirror.children.count)
364
364
#if arch(i386) || arch(arm)
365
365
expectEqual("18446744071562067968", String(mirror.children.first!.1))
366
- #elseif arch(x86_64) || arch(arm64) || arch(powerpc64) || arch(powerpc64le)
366
+ #elseif arch(x86_64) || arch(arm64) || arch(powerpc64) || arch(powerpc64le) || arch(s390x)
367
367
expectEqual("9223372036854775808", String(mirror.children.first!.1))
368
368
#else
369
369
fatalError("Unimplemented")
@@ -377,7 +377,7 @@ UnsafeMutablePointerTestSuite.test("customPlaygroundQuickLook") {
377
377
if case let .text(desc) = ptr.customPlaygroundQuickLook {
378
378
#if arch(i386) || arch(arm)
379
379
expectEqual("UnsafeMutablePointer(0xFFFFFFFF80000000)", desc)
380
- #elseif arch(x86_64) || arch(arm64) || arch(powerpc64) || arch(powerpc64le)
380
+ #elseif arch(x86_64) || arch(arm64) || arch(powerpc64) || arch(powerpc64le) || arch(s390x)
381
381
expectEqual("UnsafeMutablePointer(0x8000000000000000)", desc)
382
382
#else
383
383
fatalError("Unimplemented")
0 commit comments