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

Test some libgit2 warnings #21566

Merged
merged 1 commit into from
Apr 27, 2017
Merged

Test some libgit2 warnings #21566

merged 1 commit into from
Apr 27, 2017

Conversation

kshyatt
Copy link
Contributor

@kshyatt kshyatt commented Apr 26, 2017

Re #21560.

@kshyatt kshyatt added libgit2 The libgit2 library or the LibGit2 stdlib module test This change adds or pertains to unit tests labels Apr 26, 2017
@kshyatt kshyatt requested a review from tkelman April 26, 2017 16:38
Copy link
Contributor

@tkelman tkelman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yay thank you, that works locally

there are also the readuntil(IO,AbstractString) will perform poorly ones but I think @omus added those

@kshyatt
Copy link
Contributor Author

kshyatt commented Apr 26, 2017 via email

@omus
Copy link
Member

omus commented Apr 26, 2017

there are also the readuntil(IO,AbstractString) will perform poorly ones but I think @omus added those

Was definitely me. Will eventually be resolved by #20621

@tkelman
Copy link
Contributor

tkelman commented Apr 26, 2017

Right, but if that's post-0.6 material, will it be possible to do something quick with test_warn so these tests are quieter for the lifetime of the release-0.6 branch?

@omus
Copy link
Member

omus commented Apr 26, 2017

The warning is coming from https://github.com/JuliaLang/julia/blob/master/test/TestHelpers.jl#L95. We could either silence the warning by redirecting STDERR at this point or adding a keyword into readuntil which stops the warning from being reported. I don't think we can use @test_warn as I'm unsure how it would handle multiple warnings from the same function call

@kshyatt
Copy link
Contributor Author

kshyatt commented Apr 26, 2017

Is the AV failure real? Can we merge?

@tkelman
Copy link
Contributor

tkelman commented Apr 26, 2017

it's #16555

@kshyatt kshyatt merged commit df6670f into master Apr 27, 2017
@kshyatt kshyatt deleted the ksh/gittestwarn branch April 27, 2017 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libgit2 The libgit2 library or the LibGit2 stdlib module test This change adds or pertains to unit tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants