mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
stdlib tests: add import statements to prevent unresolved symbols when compiling StdlibUnittest with -sil-serialize-all.
rdar://problem/18917405
This commit is contained in:
@@ -5,6 +5,13 @@
|
||||
import SwiftPrivate
|
||||
import StdlibUnittest
|
||||
|
||||
// Also import modules which are used by StdlibUnittest internally. This is
|
||||
// needed to link all required libraries in case we serialize StdlibUnittest.
|
||||
import SwiftPrivate
|
||||
#if _runtime(_ObjC)
|
||||
import ObjectiveC
|
||||
#endif
|
||||
|
||||
var HashingTestSuite = TestSuite("Hashing")
|
||||
|
||||
func avalancheTest(bits: Int, _ hashUnderTest: (UInt64) -> UInt64, _ pValue: Double) {
|
||||
|
||||
Reference in New Issue
Block a user