-
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,7 @@ | ||
// RUN: %empty-directory(%t) | ||
// RUN: %target-build-swift %s -o %t/a.out_Debug -Onone | ||
// RUN: %target-build-swift %s -o %t/a.out_Release -O | ||
// RUN: %target-codesign %t/a.out_Debug | ||
// RUN: %target-codesign %t/a.out_Release | ||
// | ||
// RUN: %target-run %t/a.out_Debug | ||
// RUN: %target-run %t/a.out_Release | ||
// RUN: %target-run-simple-swift(-Onone -DDEBUG) | ||
// RUN: %target-run-simple-swift(-O) | ||
// REQUIRES: executable_test | ||
// REQUIRES: objc_interop | ||
// REQUIRES: rdar49026133 | ||
|
||
import StdlibUnittest | ||
import Foundation | ||
|
@@ -205,6 +198,10 @@ DictionaryTraps.test("ForcedNonverbatimBridge.Value") | |
_ = d1 as! Dictionary<NSObject, String> | ||
} | ||
|
||
// FIXME: <https://bugs.swift.org/browse/SR-14282> | ||
// 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 commentThe 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 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 commentThe reason will be displayed to describe this comment to others. Learn more.
I've filed SR-14282. |
||
#if DEBUG | ||
|
||
DictionaryTraps.test("ForcedVerbatimBridge.StringKey") | ||
.skip(.custom( | ||
|
@@ -284,6 +281,8 @@ DictionaryTraps.test("ForcedVerbatimBridge.Value") | |
} | ||
} | ||
|
||
#endif // DEBUG | ||
|
||
DictionaryTraps.test("Downcast.Verbatim") | ||
.skip(.custom( | ||
{ _isFastAssertConfiguration() }, | ||
|
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.)