-
Notifications
You must be signed in to change notification settings - Fork 263
remove trailing period after "N seconds" #182
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
- remove trailing period in PrintObserver to match Apple XCTest as stated in the FIXME comment - update functional test suite accordingly
You are my hero! 😍 Thanks! |
@swift-ci please test |
Welcome 😅 I'm happy to contribute |
Hmm, strange, looks like some of the macOS tests failed. At first glance, it's not clear whether this pull request is at fault. On the one hand, I can see the following output:
On the other hand, the following is being output to stderr. I'm not sure it's relevant output, and as far as I know it's ignored because we currently only make expectations on stdout:
@tiagomartinho, did you test this locally? If so, did you use macOS or Linux? If macOS, could you try executing the same command as CI does, to see if the failure occurs? CI is running this:
|
@modocache yes I did try it locally using the "SwiftXCTestFunctionalTests" scheme in Xcode. I use macOS 10.12.2 and the latest Swift Toolchain (2017-01-05). I will run the same command as the CI does and check the results. |
It works on my machine 😞
I however removed the option --build-ninja, the command I ran was:
|
@larryonoff do you think it's a problem with the changes made to XCTest? |
@tiagomartinho I don't think that your changes caused this issue. I assume that something doesn't match with the current Xcode project settings in 'master' branch and CI requirements, or as @ikesyo mentioned that swift-corelibs-foundation doesn't work well on macOS 10.11. I thought that my changes caused the issue, because I made serious changes in project settings. But now it doesn't look so, since you have the same issue and you didn't change any project settings. PS. Moreover I have an assumption now that if someone will trigger CI for the current 'master' branch it will fail on macOS. |
Yes, that makes sense. Looks like the build is broken. First person to submit a pull request to fix it wins! Might have to make a change to swift-corelibs-foundation, or maybe apple/swift. |
How would you advise to work on it @modocache? I could not reproduce the problem on my machine. |
Good point. In #176 @ikesyo mentioned that the build fails on macOS 10.11 because of swiftlang/swift-corelibs-foundation#709, so it might require that version of the OS in order to test properly... Unfortunately swiftlang/swift-corelibs-foundation#709 is a large pull request, so it'd be difficult, but one option would be looking through that to see if there's any specific line that is causing problems. The quicker solution would probably be to email swift-dev or swift-corelibs-dev and explain the problem. Maybe the ideal solution is to:
In the meantime, I'm going to go ahead and merge this pull request. It works on Linux, and I'm confident it'd work on macOS, too. Sorry for the complications! |
I've submitted a pull request: swiftlang/swift-corelibs-foundation#784 |
BTW it still would be great to know the CI environment (e.g. macOS version, Xcode version, what else ?) when it tests PR. Should I write into |
I think create a pull request to add it to |
in the FIXME comment