Skip to content

Commit

Permalink
more granular info
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Mar 22, 2022
1 parent fe4881a commit f707e5d
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ using Dates
import REPL
using Printf: @sprintf
using Base: Experimental
using InteractiveUtils: versioninfo

include("choosetests.jl")
include("testenv.jl")
Expand Down Expand Up @@ -125,10 +124,14 @@ cd(@__DIR__) do
Distributed.remotecall_eval(Main, workers(), revise_init_expr)
end

if tryparse(Bool, get(ENV, "CI", "false")) == true
# start report on CI with info for debugging
versioninfo()
end
println("""\n
Running parallel tests with:
nworkers() = $(nworkers())
nthreads() = $(Threads.nthreads())
Sys.CPU_THREADS = $(Sys.CPU_THREADS)
Sys.total_memory() = $(Base.format_bytes(Sys.total_memory()))
Sys.free_memory() = $(Base.format_bytes(Sys.free_memory()))
""")

#pretty print the information about gc and mem usage
testgroupheader = "Test"
Expand Down

0 comments on commit f707e5d

Please sign in to comment.