Skip to content

Commit

Permalink
check isdefined(Base, :cumulative_compile_time_ns_before)
Browse files Browse the repository at this point in the history
  • Loading branch information
wookay committed Jan 26, 2021
1 parent 5459a99 commit f60a3f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ function jive_finish(io::IO, ts::DefaultTestSet, compile_elapsedtime::UInt64, el
end

cumulative_compile_time_ns_before, cumulative_compile_time_ns_after = begin
if VERSION >= v"1.6.0-DEV.1819"
if VERSION >= v"1.6.0-DEV.1819" && isdefined(Base, :cumulative_compile_time_ns_before)
(Base.cumulative_compile_time_ns_before, Base.cumulative_compile_time_ns_after)
elseif VERSION >= v"1.6.0-DEV.1088"
(Base.cumulative_compile_time_ns, Base.cumulative_compile_time_ns)
Expand Down

0 comments on commit f60a3f6

Please sign in to comment.