Skip to content

Commit

Permalink
Merge pull request #189 from tkremenek/force-tests-swift-ver-3
Browse files Browse the repository at this point in the history
Force tests to build with -swift-version 3.
  • Loading branch information
tkremenek authored Apr 28, 2017
2 parents f29496c + 9b70aec commit 2e0aedc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/Functional/lit.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ def _getenv(name):
return value

built_products_dir = _getenv('BUILT_PRODUCTS_DIR')
# Force tests to build with -swift-version 3 for now.
swift_exec = [
_getenv('SWIFT_EXEC'),
'-swift-version', '3',
'-Xlinker', '-rpath',
'-Xlinker', built_products_dir,
'-L', built_products_dir,
Expand Down

0 comments on commit 2e0aedc

Please sign in to comment.