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

Fix #17462, break/continue in an at-testset for loop #17692

Merged
merged 2 commits into from
Jul 30, 2016
Merged

Conversation

tkelman
Copy link
Contributor

@tkelman tkelman commented Jul 29, 2016

This fixes NearestNeighbors.jl.

make the macro return a :for instead of a :comprehension
@tkelman tkelman added the testsystem The unit testing framework and Test stdlib label Jul 29, 2016
Add some counters to make sure things actually execute
@tkelman
Copy link
Contributor Author

tkelman commented Jul 29, 2016

I might not be understanding how testsets are supposed to work, but one strange thing here is that if I put a failing test inside the testset then I get a backtrace but make test-test says "SUCCESS". Is that a bug too or intended?

@kshyatt
Copy link
Contributor

kshyatt commented Jul 29, 2016

@tkelman That is a bug that my big ball of testset mud PR fixes

@tkelman
Copy link
Contributor Author

tkelman commented Jul 29, 2016

could it be split out so it would be an 0.5 backport candidate?

@kshyatt
Copy link
Contributor

kshyatt commented Jul 29, 2016

It might be kind of hard to cherry-pick a specific commit but I can try to make a new PR against release-0.5?

@tkelman
Copy link
Contributor Author

tkelman commented Jul 29, 2016

if it's a bugfix that's doable independently of the rest of that pr that would be best. though there isn't quite a release-0.5 branch just yet.

@tkelman tkelman merged commit 7c6ceb9 into master Jul 30, 2016
@tkelman tkelman deleted the tk/fix17462 branch July 30, 2016 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testsystem The unit testing framework and Test stdlib
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants