RelationalAI-oss / XUnit.jl

XUnit.jl is a unit-testing framework for Julia.
MIT License
47 stars 5 forks source link

Julia <1.8 incompatibilities #19

Open maleadt opened 1 year ago

maleadt commented 1 year ago

On 1.6:

A critical error occued while running '...': ErrorException("type Pass has no field source")
getproperty(x::Test.Pass, f::Symbol) at Base.jl:33
convert_results_to_be_transferrable(res::Test.Pass) at test-runners.jl:722
convert_results_to_be_transferrable(ts::TestReports.ReportingTestSet) at test-runners.jl:702
convert_results_to_be_transferrable(ts::RichReportingTestSet) at test-runners.jl:708
XUnit.DistributedAsyncTestMessage(t::XUnit._AsyncTestCase{XUnit.AsyncTestSuite}) at test-runners.jl:634
do_work(jobs::RemoteChannel{Channel{Tuple{Int64, Union{Nothing, String}}}}, results::RemoteChannel{Channel{Tuple{Int64, Union{Nothing, XUnit.DistributedAsyncTestMessage}, Int64}}}) at shared-distributed-code.jl:71
(::Distributed.var"#118#120"{Distributed.RemoteDoMsg})() at process_messages.jl:299
run_work_thunk(thunk::Distributed.var"#118#120"{Distributed.RemoteDoMsg}, print_error::Bool) at process_messages.jl:63
(::Distributed.var"#117#119"{Distributed.RemoteDoMsg})() at task.jl:417

On 1.7:

ErrorException("type Pass has no field message_only")
getproperty at Base.jl:42 [inlined]
convert_results_to_be_transferrable(res::Test.Pass) at test-runners.jl:722