-
Notifications
You must be signed in to change notification settings - Fork 263
[Tests] Use %t for test output #31
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
Conversation
Addresses a suggestion by @ddunbar in swiftlang#20, to use `lit`'s built-in `%t` substitution for temporary test output. To prevent output from being checked in to source control, add `Output` to the `.gitignore`.
I will try and investigate why test_exec_root isn't doing the right thing, at some point, but for now I am ok with the temporary solution we have. It is easy to mechanically update the tests when we get this fixed. |
I actually encountered issues when adding multiple tests in #32 -- sorry for not testing this case!! This pull request addresses the issues from #32. The problem is that
The problem can be fixed either in this pull request, or by modifying the Xcode project and |
OK, since the current state of this doesn't work once a second test is aded, let's take this. I would still love to find a good way to move this output to outside the source tree. |
[Tests] Use %t for test output
Addresses a suggestion by @ddunbar in #20, to use
lit
's built-in%t
substitution for temporary test output. To prevent output from being
checked in to source control, add
Output
to the.gitignore
.