Commit Graph

7 Commits

Author SHA1 Message Date
Jordan Rose
22f9853b76 [ParseableInterface] Turn on -enable-parseable-module-interface always (#23331)
...and remove the option. This is ~technically~ CLI-breaking because
Swift 5 shipped this as a hidden driver option, but it wouldn't have
/done/ anything in Swift 5, so I think it's okay to remove.

Note that if a parseable interface (.swiftinterface) and a binary
interface (.swiftmodule) are both present, the binary one will still
be preferred. This just /allows/ parseable interfaces to be used.

rdar://problem/36885834
2019-03-16 15:31:11 -07:00
Nathan Hawes
0a04b4bff0 [ParseableInterface] Add diagnostics test for errors in inlinable function bodies
Adds a test that errors reported in the inlinable function bodies of
.swiftinterface files are propagated correctly when generating the corresponding
.swiftmodule files.

rdar://problem/44400260
2019-02-05 11:04:08 -08:00
Graydon Hoare
e7ab8fc261 [ModuleInterface] <rdar://46073729> Re-enable test that appears to be working now, unclear why initially failing. 2018-12-17 13:57:29 -08:00
Saleem Abdulrasool
f138f5046a test: invoke python scripts with the interpreter
Ensure that we explicitly provide the path to the interpreter when
running the python scripts during the tests.  This is needed to have the
tests work on Windows which does not honour the shebang in the file.  It
also ensures that we use the correct interpreter for the tests.
2018-12-12 16:07:17 -08:00
Graydon Hoare
f7df1b3ce5 [ModuleInterface] <rdar://46073729> Temporarily disable module-cache-diagnostics test. 2018-11-14 14:00:07 -08:00
Graydon Hoare
657543119c [ModuleInterface] Version string (semi)finalization, format version checking. 2018-11-13 13:25:15 -08:00
Graydon Hoare
37a2eb561c [ModuleInterface] Add tests for warning-suppression, errors from sub-instance. 2018-11-13 13:24:23 -08:00