Commit Graph

2013 Commits

Author SHA1 Message Date
Dmitri Hrybenko
572b08bd43 Dictionary test: use more precise autorelease pool placement
Swift SVN r29296
2015-06-04 09:06:17 +00:00
Dmitri Hrybenko
8387fc45b5 StdlibUnittest: add a facility to activate autorelease pools only on platforms that don't implement the return-autoreleased optimization
Swift SVN r29295
2015-06-04 09:06:16 +00:00
Arnold Schwaighofer
edf20fb43a Change test to not depend on being compiled with -Onone
Swift SVN r29288
2015-06-04 01:55:49 +00:00
Arnold Schwaighofer
e0d434ff8e This fails in optimized mode
rdar://212311525

Swift SVN r29283
2015-06-03 23:28:54 +00:00
Arnold Schwaighofer
b9b00326f6 This fails in optimized mode
rdar://21231163

Swift SVN r29282
2015-06-03 23:28:54 +00:00
Arnold Schwaighofer
2c617bf75b This test case assumes to be compiled without optimizations
Swift SVN r29281
2015-06-03 23:28:53 +00:00
Arnold Schwaighofer
ee0a1d1a58 More executable tests in validation-test
Swift SVN r29279
2015-06-03 23:28:45 +00:00
Arnold Schwaighofer
4d4329b0e0 Add executable_test to the validation test suite
Swift SVN r29278
2015-06-03 23:28:43 +00:00
Dmitri Hrybenko
cca4f4e3ff Revert "stdlib: Add some basic array bridging tests"
This reverts commit 29268.  The tests don't pass on the 32-bit
simulator.

Swift SVN r29273
2015-06-03 05:07:42 +00:00
Dmitri Hrybenko
6b9e73aa09 stdlib: Add some basic array bridging tests
Swift SVN r29268
2015-06-03 03:10:06 +00:00
Dmitri Hrybenko
04549ce1d5 Dictionary test: add more assertions
Swift SVN r29267
2015-06-03 03:10:05 +00:00
Dmitri Hrybenko
dc29fca37f Update the Dictionary test for a performance improvement in Foundation
Swift SVN r29254
2015-06-02 20:59:15 +00:00
Dmitri Hrybenko
854a197845 Update to the new GameplayKit API
Swift SVN r29253
2015-06-02 20:59:14 +00:00
Arnold Schwaighofer
6c936235d4 This test no longer fails
rdar://21204610

Swift SVN r29250
2015-06-02 20:58:14 +00:00
Arnold Schwaighofer
45686daeb4 This test case fails with an optimized stdlib on armv7
rdar://21204610

Swift SVN r29246
2015-06-02 18:52:35 +00:00
Arnold Schwaighofer
9ac6b9bd83 This is an executable test
Swift SVN r29235
2015-06-02 16:16:07 +00:00
Arnold Schwaighofer
bd9108157c This test currently fails in optimized mode
rdar://21193916

Swift SVN r29220
2015-06-02 02:09:49 +00:00
Dmitri Hrybenko
37135f441b XCTest requires objc_interop
Swift SVN r29198
2015-06-01 01:32:46 +00:00
Dmitri Hrybenko
29ec6ab6b5 Re-enable the XCTest overlay for OSX
And add the first smoketest for the XCTest overlay to prevent
regressions in future.

Swift SVN r29197
2015-06-01 01:09:31 +00:00
Dmitri Hrybenko
ffe26aa69c stdlib: dissolve the Array.swift test in other tests
Swift SVN r29129
2015-05-29 01:33:07 +00:00
Greg Parker
9e23ebcec6 [test] Un-XFAIL GameplayKit tests. Reverts r29021.
Swift SVN r29024
2015-05-26 05:04:05 +00:00
Greg Parker
d7f92109a4 [test] Temporarily XFAIL GameplayKit tests on iOS until the test devices update
Swift SVN r29021
2015-05-26 04:06:01 +00:00
Dave Abrahams
abf8e2f921 [stdlib] ~>_copyToNativeArrayBuffer() => method
Swift SVN r29001
2015-05-25 03:28:54 +00:00
Dave Abrahams
0fdc73bf43 [stdlib] Minimize and rename _UnsignedIntegerType
The protocol is still needed in order to make sure mixed signed/unsigned
arithmetic doesn't compile, but after pulling all its "real"
requirements into UnsignedIntegerType, that's now its only function.
Thus, rename it to _DisallowMixedSignArithmetic.

Swift SVN r28980
2015-05-24 02:09:14 +00:00
Chris Lattner
ffddcf1023 update validation test for diagnostic change.
Swift SVN r28967
2015-05-23 16:15:57 +00:00
Joe Groff
32fb006386 Clang Importer: Enable OptionSetType import.
Update the tests to match.

Swift SVN r28906
2015-05-22 05:47:37 +00:00
Doug Gregor
2b01e748fd Remove uses of parameter ‘#’ from the validation testsuite.
Swift SVN r28843
2015-05-20 20:21:45 +00:00
Dmitri Hrybenko
fe239e3d03 stdlib: de-underscore sort() and partition() methods
Swift SVN r28839
2015-05-20 19:34:36 +00:00
Dmitri Hrybenko
53f3ccf850 stdlib: change CollectionType.count() into a property
Swift SVN r28829
2015-05-20 09:14:43 +00:00
Dmitri Hrybenko
ca1cdefb76 tests: fix the names of fake collections in tests for partition()
Swift SVN r28821
2015-05-20 03:44:59 +00:00
Dmitri Hrybenko
4a677190eb stdlib: move partition() to a protocol extension
Swift SVN r28816
2015-05-20 03:12:55 +00:00
Jordan Rose
5e74224140 [test] Move stdlib/Algorithm test to validation-test suite.
It takes a long time to compile (at least partly due to rdar://problem/20875936)
and then takes a long time to run (because it's a very large collection of
test cases). Dmitri says he prefers not to split it up into multiple tests.

This cuts my debug compiler / debug stdlib local testing time by over 15%.

Swift SVN r28811
2015-05-20 01:23:23 +00:00
Greg Parker
15b99a26d9 Test: Add %target-clang substitution.
Swift SVN r28758
2015-05-19 06:08:36 +00:00
Dmitri Hrybenko
abc7677337 GameplayKit overlay: adjust to SDK changes
Swift SVN r28738
2015-05-19 01:55:30 +00:00
Dmitri Hrybenko
47595ee1db stdlib: change sort() and sorted() into protocol extensions
Swift SVN r28736
2015-05-19 01:55:29 +00:00
Dmitri Hrybenko
17cafb6b3a Revert "stdlib: don't use doc comment markup for non-doc comments"
This reverts commit 28724.  It contains unintended changes.

Swift SVN r28725
2015-05-18 21:51:53 +00:00
Dmitri Hrybenko
e964eb7384 stdlib: don't use doc comment markup for non-doc comments
rdar://problem/20976063

Swift SVN r28724
2015-05-18 21:50:24 +00:00
Dmitri Hrybenko
a2096f187c Add the WatchKit overlay
rdar://20438380

Swift SVN r28654
2015-05-16 00:32:42 +00:00
Dmitri Hrybenko
1b61cefb44 The ObjectiveC test requires objc_interop
Swift SVN r28594
2015-05-15 00:51:40 +00:00
Dmitri Hrybenko
25d9a4fe32 stdlib: protocol extensions: de-underscore filter()
The API was adjusted according to the API review previously.

Swift SVN r28592
2015-05-15 00:37:01 +00:00
Dmitri Hrybenko
7c8a394cb1 Move NSObject extensions to the ObjectiveC overlay
NSObject is defined in the ObjectiveC module, not in Foundation.

rdar://20526438

Swift SVN r28591
2015-05-15 00:34:25 +00:00
Dmitri Hrybenko
3a2bb97cd6 Fix tests for expectCrashLater() for iOS
On iOS we recieve a different signal.  That's not the point of the test,
and since we FileCheck the message anyway, the exact signal name does
not really matter.

Swift SVN r28513
2015-05-13 08:47:33 +00:00
Dmitri Hrybenko
e315581f74 StdlibUnittest tests: use a runtime trap to test expectCrashLater
This change makes the test output the same in normal runs and in ASan
builds.

Swift SVN r28507
2015-05-13 06:36:15 +00:00
Dmitri Hrybenko
843d8a4eb7 stdlib: protocol extensions: de-underscore map()
Swift SVN r28502
2015-05-13 01:58:46 +00:00
Ted Kremenek
6884540019 Revert "Re-enable validation-test/stdlib/SceneKit.swift."
This is failing on the bots.

Swift SVN r28501
2015-05-13 00:24:10 +00:00
Ted Kremenek
86dc008e5b Adjust test to new #available syntax.
Swift SVN r28497
2015-05-12 23:36:13 +00:00
Dmitri Hrybenko
c8e1ac8435 Add the GameplayKit overlay
Swift SVN r28495
2015-05-12 23:12:06 +00:00
Ted Kremenek
b564dd5e02 Re-enable validation-test/stdlib/SceneKit.swift.
Implements rdar://problem/20738811

Swift SVN r28494
2015-05-12 22:56:47 +00:00
Dmitri Hrybenko
945259f704 SDK overlay: add a smoketest for the CoreMedia overlay
Swift SVN r28493
2015-05-12 22:53:12 +00:00
Dmitri Hrybenko
61214ec55b stdlib: remove Sliceable conformance from String
Swift SVN r28442
2015-05-11 20:58:31 +00:00