Skip to content

Commit 2e0aedc

Browse files
authored
Merge pull request #189 from tkremenek/force-tests-swift-ver-3
Force tests to build with -swift-version 3.
2 parents f29496c + 9b70aec commit 2e0aedc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/Functional/lit.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@ def _getenv(name):
3737
return value
3838

3939
built_products_dir = _getenv('BUILT_PRODUCTS_DIR')
40+
# Force tests to build with -swift-version 3 for now.
4041
swift_exec = [
4142
_getenv('SWIFT_EXEC'),
43+
'-swift-version', '3',
4244
'-Xlinker', '-rpath',
4345
'-Xlinker', built_products_dir,
4446
'-L', built_products_dir,

0 commit comments

Comments
 (0)