mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Gardening: Migrate test suite to GH issues: validation-test/stdlib
This commit is contained in:
@@ -660,7 +660,7 @@ CollectionTypeTests.test("firstIndex(of:)/ContinueSearch") {
|
||||
// Collection indices types
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// SR-2121
|
||||
// https://github.com/apple/swift/issues/44729
|
||||
extension Collection {
|
||||
func testIndicesElementType() {
|
||||
for index in self.indices {
|
||||
|
||||
@@ -5176,7 +5176,7 @@ DictionaryTestSuite.test("updateValue") {
|
||||
|
||||
DictionaryTestSuite.test("localHashSeeds") {
|
||||
// With global hashing, copying elements in hash order between hash tables
|
||||
// can become quadratic. (See https://bugs.swift.org/browse/SR-3268)
|
||||
// can become quadratic (see https://github.com/apple/swift/issues/45856).
|
||||
//
|
||||
// We defeat this by mixing the local storage capacity into the global hash
|
||||
// seed, thereby breaking the correlation between bucket indices across
|
||||
|
||||
@@ -236,7 +236,8 @@ RandomTests.test("different random number generators") {
|
||||
expectEqual(shufflePasses[0], shufflePasses[1])
|
||||
}
|
||||
|
||||
// Random floating points with max values (SR-8178)
|
||||
// https://github.com/apple/swift/issues/50710
|
||||
// Random floating points with max values
|
||||
|
||||
var lcrng = LCRNG(seed: 1234567890)
|
||||
|
||||
|
||||
@@ -4443,7 +4443,7 @@ SetTestSuite.test("SetAlgebra.UpdateWith.EmptySet") {
|
||||
|
||||
SetTestSuite.test("localHashSeeds") {
|
||||
// With global hashing, copying elements in hash order between hash tables
|
||||
// can become quadratic. (See https://bugs.swift.org/browse/SR-3268)
|
||||
// can become quadratic (see https://github.com/apple/swift/issues/45856).
|
||||
//
|
||||
// We defeat this by mixing the local storage capacity into the global hash
|
||||
// seed, thereby breaking the correlation between bucket indices across
|
||||
|
||||
@@ -20,7 +20,8 @@ SortABITestSuite.test("_merge-ABI") {
|
||||
}
|
||||
}
|
||||
// The return value is legacy ABI. It was originally added as a
|
||||
// workaround for a compiler bug (now fixed). See SR-14750 (rdar://45044610).
|
||||
// workaround for a compiler bug (now fixed). See
|
||||
// https://github.com/apple/swift/issues/57100 (rdar://45044610).
|
||||
// `_merge` always returns `true`
|
||||
expectEqual(result, true)
|
||||
}
|
||||
@@ -36,7 +37,8 @@ SortABITestSuite.test("_mergeRuns-ABI") {
|
||||
}
|
||||
}
|
||||
// The return value is legacy ABI. It was originally added as a
|
||||
// workaround for a compiler bug (now fixed). See SR-14750 (rdar://45044610).
|
||||
// workaround for a compiler bug (now fixed). See
|
||||
// https://github.com/apple/swift/issues/57100 (rdar://45044610).
|
||||
// `_mergeRuns` always returns `true`
|
||||
expectEqual(result, true)
|
||||
}
|
||||
@@ -52,7 +54,8 @@ SortABITestSuite.test("_mergeTopRuns-ABI") {
|
||||
}
|
||||
}
|
||||
// The return value is legacy ABI. It was originally added as a
|
||||
// workaround for a compiler bug (now fixed). See SR-14750 (rdar://45044610).
|
||||
// workaround for a compiler bug (now fixed). See
|
||||
// https://github.com/apple/swift/issues/57100 (rdar://45044610).
|
||||
// `_mergeTopRuns` always returns `true`
|
||||
expectEqual(result, true)
|
||||
}
|
||||
@@ -68,7 +71,8 @@ SortABITestSuite.test("_finalizeRuns-ABI") {
|
||||
}
|
||||
}
|
||||
// The return value is legacy ABI. It was originally added as a
|
||||
// workaround for a compiler bug (now fixed). See SR-14750 (rdar://45044610).
|
||||
// workaround for a compiler bug (now fixed). See
|
||||
// https://github.com/apple/swift/issues/57100 (rdar://45044610).
|
||||
// `_finalizeRuns` always returns `true`
|
||||
expectEqual(result, true)
|
||||
}
|
||||
|
||||
@@ -423,7 +423,7 @@ func testNSNumberBridgeFromInt32() {
|
||||
|
||||
let float = (number!) as? Float
|
||||
let expectedFloat = Float(exactly: int32!)
|
||||
// these are disabled because of https://bugs.swift.org/browse/SR-4634
|
||||
// FIXME: These are disabled because of https://github.com/apple/swift/issues/47211
|
||||
if (int32! != Int32.min && int32! != Int32.max &&
|
||||
int32! != Int32.min + 1 && int32! != Int32.max - 1) {
|
||||
testFloat(expectedFloat, float)
|
||||
@@ -468,7 +468,7 @@ func testNSNumberBridgeFromUInt32() {
|
||||
|
||||
let float = (number!) as? Float
|
||||
let expectedFloat = Float(uint32!)
|
||||
// these are disabled because of https://bugs.swift.org/browse/SR-4634
|
||||
// FIXME: These are disabled because of https://github.com/apple/swift/issues/47211
|
||||
if (uint32! != UInt32.max && uint32! != UInt32.max - UInt32(1)) {
|
||||
testFloat(expectedFloat, float)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user