Skip to content

[test] Make sure directory exists before putting a module cache in it #15197

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 13, 2018

Conversation

jrose-apple
Copy link
Contributor

This test uses %swiftc_driver_plain instead of %swiftc_driver or %target-build-swift because it's testing what the driver does when invoked with no -swift-version argument, but that means we have to manually set up things like a module cache path. This will then fail if it's the first Driver test run in a clean build directory (because of where lit.py decides to put temporary files).

rdar://problem/38354843

This test uses %swiftc_driver_plain instead of %swiftc_driver or
%target-build-swift because it's testing what the driver does when
invoked with no -swift-version argument, but that means we have to
manually set up things like a module cache path. This will then fail
if it's the first Driver test run in a clean build directory (because
of where lit.py decides to put temporary files).

rdar://problem/38354843
@jrose-apple
Copy link
Contributor Author

@swift-ci Please smoke test

@jrose-apple jrose-apple merged commit 144d78c into swiftlang:master Mar 13, 2018
@jrose-apple jrose-apple deleted the directory-directive branch March 13, 2018 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant