Commit Graph

7 Commits

Author SHA1 Message Date
Andrew Trick
1aa9021b7d Disable -enable-sil-verify-all in stdlib parsing tests.
See <rdar://problem/24060338> Identify problems with textual SIL and fix them

This was never working, but does seem to have recently been fixed on OSX.

It's still failing on Linux:

SIL verification failed: vtable entry for #_AnySequenceBox._prefix!1 must be ABI-compatible
Different conventions for parameter 0
  @convention(method) <τ_0_0> (Int, @guaranteed _AnySequenceBox<τ_0_0>) -> @owned _AnySequenceBox<τ_0_0>
    @convention(method) <τ_0_0> (@owned @callee_owned (@in τ_0_0) -> (Bool, @error Error), @guaranteed _AnySequenceBox<τ_0_0>) -> (@owned _AnySequenceBox<τ_0_0>, @error Error)
    In function:
2016-11-18 12:35:57 -08:00
Michael Gottesman
20dd563efb [semantic-arc] Update tests for qualified/unqualified ownership and SILGen emission of copy_value, destroy_value. 2016-10-29 20:11:09 -07:00
Dmitri Gribenko
a30f90c965 CMake: move tricky code from CMake to Python
Removing an abstraction boundary also allowed me to fix a bug where we
could not run long tests in optimized mode, which prevented us from
being able to mark executable tests as long.
2016-06-06 01:02:03 -07:00
Dmitri Gribenko
457f2b901c CMake & build-script: add a new tier of testing, "long tests"
* The behavior of `build-script -t` is unchanged.

* `build-script -T` continues to run primary and validation test suite,
  but without the long tests.

* `build-script --long-test` runs just the long tests.

* `build-script -T --long-test` runs all tests.
2016-04-16 14:03:54 -07:00
Mark Lacey
517723dbe9 Add -enable-sil-verify-all to sil-opt tests.
Also remove -verify from almost all of them, since only two actually
have expected diagnostic output that is tested.

Swift SVN r32198
2015-09-24 07:25:15 +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