Commit Graph

4 Commits

Author SHA1 Message Date
Erik Eckstein
78ec15cf38 tests: remove some unused FileCheck prefix options
Such tests would fail with the -allow-unused-prefixes FileCheck option.

diff --git a/test/lit.cfg b/test/lit.cfg
-run_filecheck = '%s %s --sanitize BUILD_DIR=%s --sanitize SOURCE_DIR=%s --use-filecheck %s %s' % (
+run_filecheck = '%s %s --sanitize BUILD_DIR=%s --sanitize SOURCE_DIR=%s --use-filecheck %s %s -allow-unused-prefixes=false' % (

It helps avoiding some wrong CHECK patterns.
I just looked briefly at some of the fails. TODO: fix remaining tests, too.

rdar://74189761
2021-03-25 15:19:30 +01:00
Slava Pestov
38fdb6b7ff Update various tests to not use Swift 3 code
Completely mechanical changes:

- Explicit @objc in a few places
- Some imported APIs changed
- For the mix-and-match tests, just test version 4/5 instead of 3/4
2018-10-26 20:15:01 -04:00
Slava Pestov
4da26110fd Allow overloads of properties with non-overlapping availability
This allows library authors to change the type of a computed
property from one Swift version to the next.
2017-03-27 21:07:37 -07:00
Slava Pestov
8798bec076 Move 'test/decl/init/swift-version-overload' => 'test/Sema/availability_nonoverlapping'
The test tests more than just initializers now.
2017-03-27 20:44:56 -07:00