-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[stdlib] Reinstate some tests #36072
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@swift-ci Please test |
Build failed |
|
@swift-ci Please test macOS platform |
@swift-ci Please test Windows platform |
|
@swift-ci Please test Windows platform |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is excellent, thank you so much for working on this!
@@ -205,6 +198,10 @@ DictionaryTraps.test("ForcedNonverbatimBridge.Value") | |||
_ = d1 as! Dictionary<NSObject, String> | |||
} | |||
|
|||
// FIXME: <rdar://problem/49026133> | |||
// Segmentation fault: 11 (when compiling with optimizations). | |||
// While running pass #0 SILModuleTransform "SILGenCleanup". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm frustratingly, this compiler crash is a new issue that is unrelated to the original problem (which was a runtime abort() call in the *_debug.sanity
tests). Serves us right for leaving this test disabled for so long... 😞
If you still have a crash log handy, could you please file a bug for it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you still have a crash log handy, could you please file a bug for it?
I've filed SR-14282.
test/stdlib/FloatingPoint.swift.gyb
Outdated
expectTrue(max.isQuietNaN) | ||
expectTrue(minMag.isQuietNaN) | ||
expectTrue(maxMag.isQuietNaN) | ||
// FIXME: <rdar://problem/49026133> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cc @stephentyrone -- He has been tracking this. (rdar://48917925)
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors | ||
// | ||
//===----------------------------------------------------------------------===// | ||
// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove the copyright header?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've restored the copyright header, with the correct years.
(However, the majority of stdlib tests don't have copyright headers.)
0ac7b7e
to
39c36b8
Compare
@swift-ci Please test |
Follow-up to: #23423
I've tested (on macOS 11.2.1 and Xcode 12.4) with:
I've replaced multi-line substitutions with one of:
I've marked the remaining test failures with one of: