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
Slava Pestov
0c88c13c0d
IRGen: Brazenly nuke -enable-dynamic-value-type-layout flag
...
The last remaining case was apparently @objc generic classes, which
seem to work now.
Also nuke the IRGen/unimplemented_objc_generic_class.swift test,
this is now implemented and we have other tests that test this
functionality.
Swift SVN r29260
2015-06-03 00:01:29 +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
Jordan Rose
2cd2d9ceb2
[test] Remove XFAIL lines from still-crashing compiler_crashers.
...
This is handled by the directory's lit.local.cfg.
Swift SVN r29238
2015-06-02 17:45:20 +00:00
Arnold Schwaighofer
9ac6b9bd83
This is an executable test
...
Swift SVN r29235
2015-06-02 16:16:07 +00:00
Greg Parker
d97b76e0a1
[test] Un-XFAIL a test that no longer fails on asan.
...
Swift SVN r29231
2015-06-02 09:40:14 +00:00
Chris Lattner
b6a15d6828
My error recovery fix improved types, likely because something wasn't handling a tok::invalid correctly.
...
Swift SVN r29225
2015-06-02 05:02:53 +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
Doug Gregor
bf310f5e1a
Compute outer generic parameters even when 'self' already has a type.
...
Resolves a few compiler crashes on invalid. One could imagine this
triggering on well-formed code, but I was unable to form such a test
case.
Swift SVN r29149
2015-05-29 17:54:25 +00:00
Ted Kremenek
dad92b0084
Revert "IRGen: Brazenly nuke -enable-dynamic-value-type-layout flag"
...
Speculatively reverting because the iOS bots are broken.
Swift SVN r29145
2015-05-29 14:11:25 +00:00
Slava Pestov
9da369b5ba
IRGen: Brazenly nuke -enable-dynamic-value-type-layout flag
...
The last remaining case was apparently @objc generic classes, which
seem to work now.
Also nuke the IRGen/unimplemented_objc_generic_class.swift test,
this is now implemented and we have other tests that test this
functionality.
Swift SVN r29138
2015-05-29 06:19:06 +00:00
Doug Gregor
a3f01190f3
Fill in nested types of an opened existential type.
...
We only attempt to access such nested types in ill-formed code, but
this helps maintain AST invariants. Fixes rdar://problem/20593294 and
resolves 18 compiler crashers.
Swift SVN r29135
2015-05-29 05:47:28 +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
Jordan Rose
ceedc93715
[test] Remove spurious -sdk passed to %target-sil-opt.
...
Thanks, Dmitri!
Swift SVN r29127
2015-05-29 00:32:16 +00:00
Jordan Rose
5baee3e3bf
[test] verify_all_overlays.sil doesn't require ObjC interop.
...
(because it doesn't name any specific overlays)
Swift SVN r29126
2015-05-29 00:21:41 +00:00
Jordan Rose
52947de17f
[test] Update parse_stdlib_* "automatically generated from" header.
...
...since I renamed the parent directory. Thanks, Dmitri!
Swift SVN r29125
2015-05-29 00:21:37 +00:00
Jordan Rose
ac5fa6740c
[Serialization] Only serialize witness tables for the current file or module.
...
Otherwise, we end up with duplicates.
rdar://problem/21145040
Swift SVN r29121
2015-05-28 23:33:08 +00:00
Doug Gregor
bb35361b5b
Add test for rdar://problem/20508671.
...
Swift SVN r29120
2015-05-28 23:24:26 +00:00
Doug Gregor
a7225aa51c
Add compiler crasher from rdar://problem/19519590.
...
Swift SVN r29119
2015-05-28 23:24:23 +00:00
Dmitri Hrybenko
67624d0521
Add a testcase for rdar://20256475
...
Swift SVN r29118
2015-05-28 23:06:16 +00:00
Doug Gregor
6a0382caf1
Add test from rdar://problem/20270240.
...
Swift SVN r29110
2015-05-28 20:20:11 +00:00
Doug Gregor
3b7c0d446a
Switch unqualified lookup over to the LookupResultBuilder.
...
Unifies the handling of witnesses in unqualified and qualified name
lookup, mostly.
Swift SVN r29081
2015-05-27 21:29:55 +00:00
Greg Parker
7a47bab351
[test] Un-XFAIL a fixed compiler crasher that now works under asan too.
...
Swift SVN r29038
2015-05-26 22:43:15 +00:00
Ben Langmuir
190208b187
Update compiler crashers after r29031
...
The aforementioned commit didn't really fix the problem, but it happened
to avoid the crash, so I've tweaked the tests to continue crashing. In
order to keep in sync with upstream practical swift, I renamed the
tweaked tests and copied the original ones into "fixed".
Swift SVN r29033
2015-05-26 17:48: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
Doug Gregor
a6300dfdc5
"Properly" compute the depth of Self in ill-formed protocol declarations.
...
Rather than always using depth 0 for the Self generic type parameter
of a protocol, which is the correct value in well-formed code,
actually compute the depth based on the context. This maintains the
depth invariants of the AST in ill-formed code, resolving a large
number of crashers (169), including rdar://problem/21042357, and
regresses one crasher.
Swift SVN r28920
2015-05-22 16:28:29 +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