stdlib: split topic-focused modules out of StdlibUnittest

The new modules are:

* SwiftUnstable -- assorted additions to the core standard library
  (more algorithms etc.)

* SwiftUnstableDarwinExtras -- proposed additions to the Darwin overlay,
  not yet reviewed by the Darwin team.

* SwiftUnstablePthreadExtras -- wrappers that make it possible to
  use pthread in Swift (they work around the lack of block-based API in
  pthread).  In future these could be possibly folded into the Darwin
  overlay as well.

These APIs are useful without StdlibUnittest for writing automation
tools in Swift.  Just like SwiftExperimental, none of these modules are
exposed to extrenal users.

Also, since these new modules can be compiled with -sil-serialize-all
(unlike StdlibUnittest, where we can't apply the flag because of
compiler bugs), standard library tests that need to run optimized code
(like AtomicInt.swift) are *much* faster now.

Swift SVN r25679
This commit is contained in:
Dmitri Hrybenko
2015-03-02 10:38:42 +00:00
parent 1a7f8f71a3
commit 581dc3c35d
31 changed files with 638 additions and 461 deletions

View File

@@ -4,6 +4,7 @@
import Swift
import StdlibUnittest
import SwiftUnstablePthreadExtras
import Dispatch
var StringTestSuite = TestSuite("String")