-
Notifications
You must be signed in to change notification settings - Fork 68
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
Don't report expected failures as failures to Travis; added #version:… #60
Conversation
… properti to the Metacello load spec
Thanks! I may have time to go over this tomorrow evening. |
The expected failures fix is for Squeak only. The addition of |
That makes sense. |
Re expected failures: since this can be quite confusing, I had already added these tests: There's a test called Since both of your changes are in one commit, I will need to wait until we have discussed this before I can merge this. |
This PR is also related to #47 |
Re #60 (comment): now I get the problem! Lastly, Pharo's code is different and I'm afraid we found a bug... |
Wow! Sorry about those. Simply forgot them. In Pharo the philosophy of an expected failure seems to be that if a test fails then that is the expected outcome. In other words if the test doesn't fail then something has changed and the outcome is unexpected. A failure will then alert to a changed conditions. So now I have all my beautifully green Fuel builds but Travis marks the (Squeak) builds as failures because the reporter exits with an error code. If you look at the Squeak TestRunner, it will produce exactly that output by the way, exactly the same as in Pharo. |
What's the bug in Pharo? |
Any way we can have a quick chat about this in Pharo's Slack or IRC? |
A test passing, even though it's marked as an expected failure, does not output anything in Pharo's |
I saw the same problems in the test runner when I ported it to GemStone. I fixed that behavior along with a couple of other things ... you know because these files are .st files and not a filetree repository we will never be able to share common code and we will continue to needlessly duplicate effort ... |
@dalehenrich yes, that is a problem. Unfortunately, Filetree does not ship with Squeak images. It'd be much easier if it did! I have just "gittified" the .st files (c14cbb2), so that I can see a normal diff and use GitHub's web editor. This makes things better, but not perfect. |
… property to the Metacello load spec
#version:
accessor to Metacello load spec. This allows one to specify a specific version that should be loaded when using a ConfigurationOf invocation.