-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
reflection test failure when run with include_from_node1 #11092
Comments
So it seems the problem is that |
The question is, is running with |
I get the same behavior starting Julia with or without In particular this commit happened after Coveralls broke for a bunch of reasons, maybe that's why no one noticed it? |
I just checked, if we change the test to use Edit: tagging @JeffBezanson since it's his commit and he can probably explain what it's doing far better than I can! |
That commit was over a year ago and looks like it has very little to do with |
Wow, I forgot it's not 2014! I got that from running a blame on the function. Maybe something in the test itself/Coveralls has changed? Sorry @JeffBezanson! |
The test harness uses julia> using Base.Test; include("reflection.jl")
The following 'Returned code...' warnings indicate normal behavior:
Warning: Returned code may not match what actually runs.
Warning: Returned code may not match what actually runs.
Warning: Returned code may not match what actually runs.
Warning: Returned code may not match what actually runs.
ERROR: LoadError: test failed: ("/usr/local/julia/test/reflection.jl" == "reflection.jl")
in expression: (functionloc(foo7648,(Any,)))[1] == "reflection.jl"
in error at error.jl:19
in default_handler at test.jl:27
in do_test at test.jl:50
in include at ./boot.jl:250
in include_from_node1 at ./loading.jl:129
while loading /usr/local/julia/test/reflection.jl, in expression starting on line 150 julia> using Base.Test; Core.include("reflection.jl")
The following 'Returned code...' warnings indicate normal behavior:
Warning: Returned code may not match what actually runs.
Warning: Returned code may not match what actually runs.
Warning: Returned code may not match what actually runs.
Warning: Returned code may not match what actually runs.
julia> |
So |
Apparently I suppose we're using It also looks like |
Sorry, I'm having a bear of a time finding where in CoverageBase/the buildbot |
Other way around. The Line 5 in 62b9817
include / include_from_node1
|
Well, that explains it! I went into my copy of CoverageBase and changed |
That's probably a quick way of fixing this, but it's still a little iffy that |
Yeah, I think it makes sense for the "canonical" CoverageBase to not do weird hacky things like this. Since I want Coveralls so badly I guess I can just fork it and do the gross thing myself until the larger |
It's certainly worth seeing what other failures you hit in local coverage runs after resolving this one, even if in a temporary manner. |
Not sure if related, but there was a question about odd |
When I run
julia --code-coverage=all
specifically with inlining, the tests immediately fail with:
which does not occur when I run the tests starting Julia with
--inline-no
.The text was updated successfully, but these errors were encountered: