I was building v1.3.0 from source, and out of habit ran make testall
to make sure the tests pass with my build before I started using it. I had 52 tests fail from a variety of stdlib packages, so naturally I tried building again without my Make.user tweaks - and got the same 52 failed tests. Then I downloaded the binary distribution, and ran the same tests (located at share/julia/test/runtests.jl
) - and still, the same 52 tests were failing.
This seems odd, so I took a look at one of the tests that failed, from the LinearAlgebra package, in the file share/julia/stdlib/v1.3/LinearAlgebra/test/tridiag.jl
.
@testset "issue #29644" begin
F = lu(Tridiagonal(sparse(1.0I, 3, 3)))
@test F.L == Matrix(I, 3, 3)
@test startswith(sprint(show, MIME("text/plain"), F),
"LinearAlgebra.LU{Float64,LinearAlgebra.Tridiagonal{Float64,SparseArrays.SparseVector")
end
The offending test was the second one, where the result I get for
sprint(show, MIME("text/plain"), F)
starts with
LU{Float64,Tridiagonal{Float64,SparseVector
without the LinearAlgebra.
and SparseArray.
on the text representation of the types.
Even more strangely, when running the julia binary on just this test file share/julia/stdlib/v1.3/LinearAlgebra/test/tridiag.jl
, the test passes.
I’m not super concerned about the result of this particular test, as the code seems to be working. Just wondering if make testall
gives a number of test failures for everybody or whether if I’m doing something basic wrong.