Skip to content

Use a folder reference instead of groups for the functional tests #65

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 8, 2016

Conversation

briancroom
Copy link
Contributor

As suggested by @mike-ferris-apple modocache@9466dc1#commitcomment-16524676

This removes the need for people to explicitly add new functional tests to Xcode for them to be browsable, since Xcode doesn't care about them during its native build process anyway.

@modocache
Copy link
Contributor

Pulled it down to try it--looks good to me! One silly thing I'll miss: I used to be able to temporarily add the files to the corelibs-xctest target in order to get autocompletion and syntax highlighting from Xcode. 😝

@mike-ferris-apple could you ask @swift-ci to please test? 🙇

@briancroom
Copy link
Contributor Author

Hmm that's actually not entirely silly at all. I remember doing the same from time to time and appreciating letting the IDE help me out more.

Still, I think that if we are feeling the urge to do that frequently, it may be a sign that the functional tests are too complex. In any case, it's still possible to pop the file into the target, it just requires a few more clicks than before.

@mike-ferris
Copy link

@swift-ci please test

@mike-ferris
Copy link

@swift-ci Please test

modocache added a commit that referenced this pull request Mar 8, 2016
Use a folder reference instead of groups for the functional tests
@modocache modocache merged commit 96772ca into swiftlang:master Mar 8, 2016
@modocache
Copy link
Contributor

The OS X check is broken until xcodebuild uses the latest Swift toolchain. (Still, I'm hesitant to disable the OS X path in the Swift build script, since I believe this xcodebuild problem will be fixed in the CI infra.)

This seems good to merge, so I went ahead and merged. Thanks, @briancroom!

@modocache
Copy link
Contributor

Wow, one really nice thing about this change is that I can easily see the output of the functional tests, right in Xcode, even though those are temporary files:

screen shot 2016-03-07 at 8 31 49 pm

That more than makes up for the lack of autocompletion. Thanks @briancroom! 💐

@briancroom briancroom deleted the folder-reference-for-tests branch March 8, 2016 03:16
@briancroom
Copy link
Contributor Author

Ohhh, nice! That's beautiful.

Thanks @mike-ferris-apple for pointing out this improvement.

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.

3 participants