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

[IRGen] Rewrite dead method test in StdlibUnittest #2305

Conversation

modocache
Copy link
Contributor

What's in this pull request?

StdlibUnitest is the preferred system for testing that a certain piece of code crashes. It's also the only way to get this test to pass when run on an Android host device, since otherwise the device test runner exits before confirming the output via FileCheck.

Related pull request: #1714


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.

@gribozavr
Copy link
Contributor

@swift-ci Please test and merge

StdlibUnitest is the preferred system for testing that a certain piece
of code crashes. It's also the only way to get this test to pass when
run on an Android host device, since otherwise the device test runner
exits before confirming the output via FileCheck.
@modocache modocache force-pushed the test-irgen-report-dead-method-call-stdlibunittest branch from a4c6599 to e1ed229 Compare April 25, 2016 22:37
@modocache
Copy link
Contributor Author

Ack, silly me! Included a typo. Sorry for wasting CI CPU cycles. Could you please try another "test and merge"?

@gribozavr
Copy link
Contributor

@swift-ci Please test and merge

@gribozavr gribozavr merged commit 060a2b4 into swiftlang:master Apr 26, 2016
@gribozavr
Copy link
Contributor

Tests succeeded, but the merge API call failed.

@modocache modocache deleted the test-irgen-report-dead-method-call-stdlibunittest branch April 26, 2016 13:51
@modocache modocache mentioned this pull request Apr 26, 2016
2 tasks
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.

2 participants