fix output so benchpress can parse it

This commit is contained in:
Simon Cruanes 2022-08-16 23:34:08 -04:00
parent 663f291bd5
commit 27ccd367b2
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -195,7 +195,7 @@ let solve ?gc:_ ?restarts:_ ?proof_file ?(pp_model = false) ?(check = false)
); );
*) *)
let t3 = Sys.time () in let t3 = Sys.time () in
Fmt.printf "sat@."; Fmt.printf "@.sat@.";
Fmt.printf "; (%.3f/%.3f/%.3f)@." (t1 -. start) (t2 -. t1) (t3 -. t2) Fmt.printf "; (%.3f/%.3f/%.3f)@." (t1 -. start) (t2 -. t1) (t3 -. t2)
| Solver.Unsat { unsat_step_id; unsat_core = _ } -> | Solver.Unsat { unsat_step_id; unsat_core = _ } ->
if check then if check then
@ -228,7 +228,7 @@ let solve ?gc:_ ?restarts:_ ?proof_file ?(pp_model = false) ?(check = false)
| _ -> ()); | _ -> ());
let t3 = Sys.time () in let t3 = Sys.time () in
Fmt.printf "unsat@."; Fmt.printf "@.unsat@.";
Fmt.printf "; (%.3f/%.3f/%.3f)@." (t1 -. start) (t2 -. t1) (t3 -. t2) Fmt.printf "; (%.3f/%.3f/%.3f)@." (t1 -. start) (t2 -. t1) (t3 -. t2)
| Solver.Unknown reas -> | Solver.Unknown reas ->
Fmt.printf "unknown@."; Fmt.printf "unknown@.";