Skip to content
Snippets Groups Projects
Commit 29c32bcf authored by Loïc Correnson's avatar Loïc Correnson
Browse files

[wp] fix incorrect stats with smoke tests

parent 4267a47c
No related branches found
No related tags found
No related merge requests found
......@@ -89,6 +89,7 @@ let ptime t valid =
let pqed r = if VCS.is_valid r then ptime r.solver_time true else pzero
let presult r = if VCS.is_valid r then ptime r.prover_time true else pzero
let psolver r = ptime r.solver_time false
let psmoked = { pzero with success = 1.0 }
(* -------------------------------------------------------------------------- *)
(* --- Global Stats --- *)
......@@ -181,9 +182,7 @@ let results ~smoke prs =
let cached = List.fold_left
(fun c (_,r) -> if r.VCS.cached then succ c else c)
0 passed in
let stucked = List.map
(fun (p,r) -> p, ptime r.prover_time true)
passed in
let stucked = List.map (fun (p,_) -> p,psmoked) passed in
let solver = List.fold_left
(fun t (_,r) -> t +. r.solver_time)
0.0 passed in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment