mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Bring up tests + validation tests for the 'freestanding' build and the standalone_minimal preset (#34386)
This commit is contained in:
committed by
GitHub
parent
38d759c43a
commit
d7dfa3e942
@@ -591,6 +591,7 @@ Runtime.test("Struct layout with reference storage types") {
|
||||
print(malkovich)
|
||||
}
|
||||
|
||||
#if !(canImport(Darwin) && !_runtime(_ObjC))
|
||||
Runtime.test("SwiftError layout constants for LLDB") {
|
||||
let offsetof_SwiftError_typeMetadata = pointerToSwiftCoreSymbol(name: "_swift_lldb_offsetof_SwiftError_typeMetadata")!
|
||||
let sizeof_SwiftError = pointerToSwiftCoreSymbol(name: "_swift_lldb_sizeof_SwiftError")!
|
||||
@@ -610,6 +611,7 @@ Runtime.test("SwiftError layout constants for LLDB") {
|
||||
_UnimplementedError()
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
var Reflection = TestSuite("Reflection")
|
||||
|
||||
@@ -762,7 +764,7 @@ AvailabilityVersionsTestSuite.test("_stdlib_isOSVersionAtLeast") {
|
||||
|
||||
// _stdlib_isOSVersionAtLeast is broken for
|
||||
// watchOS. rdar://problem/20234735
|
||||
#if canImport(Darwin)
|
||||
#if canImport(Darwin) && _runtime(_ObjC)
|
||||
// This test assumes that no version component on an OS we test upon
|
||||
// will ever be greater than 1066 and that every major version will always
|
||||
// be greater than 1.
|
||||
|
||||
Reference in New Issue
Block a user