Skip to content
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

[unittests] Ignore googletest DWARF directories #2054

Merged
merged 1 commit into from Apr 4, 2016

Conversation

modocache
Copy link
Collaborator

What's in this pull request?

The Swift build system does not generate DWARF symbols in the unittests build directory. For build systems that do, however, files would be generated with the test suffix "Tests". These need to be excluded because otherwise lit.formats.GoogleTest tries to execute them. See http://reviews.llvm.org/D18647 for details.

/cc @ddunbar

Resolved bug number: (SR-)


Before merging this pull request to apple/swift repository:

  • Test pull request on Swift continuous integration.

Triggering Swift CI

The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:

Smoke Testing

Platform Comment
All supported platforms @swift-ci Please smoke test
OS X platform @swift-ci Please smoke test OS X platform
Linux platform @swift-ci Please smoke test Linux platform

Validation Testing

Platform Comment
All supported platforms @swift-ci Please test
OS X platform @swift-ci Please test OS X platform
Linux platform @swift-ci Please test Linux platform

Note: Only members of the Apple organization can trigger swift-ci.

The Swift build system does not generate DWARF symbols in the unittests build
directory. For build systems that do, however, files would be generated with
the test suffix "Tests". These need to be excluded because otherwise
`lit.formats.GoogleTest` tries to execute them.
@ddunbar
Copy link
Member

ddunbar commented Apr 4, 2016

/cc @gribozavr

@gribozavr
Copy link
Collaborator

@swift-ci Please test and merge

@modocache
Copy link
Collaborator Author

Hmm, looks like the Linux test failed. Something to do with SwiftPM and package-tests (I believe this is a known issue on master at the moment). The Swift test suite, on the other hand, appears to have completed successfully. Anyone mind if I merge this before the SwiftPM failure is fixed?

@ddunbar
Copy link
Member

ddunbar commented Apr 4, 2016

Go for it, that test failure is being addressed independently.

@modocache modocache merged commit f7f90de into apple:master Apr 4, 2016
@modocache modocache deleted the unittests-lit-ignore-dwarf branch April 4, 2016 20:39
@modocache
Copy link
Collaborator Author

Great, thanks!! 🙇

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.

None yet

3 participants