diff --git a/test/runtests.jl b/test/runtests.jl index 5ed2d20..c5e84f6 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -19,15 +19,11 @@ end using Boltz const BOLTZ_TEST_GROUP = get(ENV, "BOLTZ_TEST_GROUP", "all") -const RETESTITEMS_NWORKERS = parse( - Int, get(ENV, "RETESTITEMS_NWORKERS", string(min(Hwloc.num_physical_cores(), 16)))) const RETESTITEMS_NWORKER_THREADS = parse(Int, - get(ENV, "RETESTITEMS_NWORKER_THREADS", - string(max(Hwloc.num_virtual_cores() ÷ RETESTITEMS_NWORKERS, 1)))) + get(ENV, "RETESTITEMS_NWORKER_THREADS", string(max(Hwloc.num_virtual_cores(), 1)))) -@info "Running tests for group: $BOLTZ_TEST_GROUP with $RETESTITEMS_NWORKERS workers" +@info "Running tests for group: $BOLTZ_TEST_GROUP" ReTestItems.runtests( Boltz; tags=(BOLTZ_TEST_GROUP == "all" ? nothing : [Symbol(BOLTZ_TEST_GROUP)]), - nworkers=ifelse(BACKEND_GROUP ∈ ("cuda", "amdgpu"), 0, RETESTITEMS_NWORKERS), - nworker_threads=RETESTITEMS_NWORKER_THREADS, testitem_timeout=3600) + nworkers=0, nworker_threads=RETESTITEMS_NWORKER_THREADS, testitem_timeout=3600)