File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -63,24 +63,29 @@ struct
6363 in
6464 ListLabels. iter display_lines ~f: (Fmt. pf ppf " %s@\n " )
6565
66- let log_dir { suite_name; uuid; root } =
66+ let log_dir { suite_name = _ ; uuid; root } =
67+ Filename. concat root uuid
68+
69+ let log_dir_pretty { suite_name; uuid; root } =
6770 (* We don't create symlinks on Windows. *)
6871 let via_symlink = not Sys. win32 in
6972 Filename. concat root (if via_symlink then suite_name else uuid)
7073
7174 let output_fpath t tname = Filename. concat (log_dir t) (Test_name. file tname)
7275
76+ let output_fpath_pretty t tname = Filename. concat (log_dir_pretty t) (Test_name. file tname)
77+
7378 let active_or_exn = function
7479 | Active t -> t
7580 | Inactive -> failwith " internal error: no log location"
7681
7782 let pp_current_run_dir t ppf =
7883 let t = active_or_exn t in
79- pp_path ppf (log_dir t)
84+ pp_path ppf (log_dir_pretty t)
8085
8186 let pp_log_location t tname ppf =
8287 let t = active_or_exn t in
83- let path = output_fpath t tname in
88+ let path = output_fpath_pretty t tname in
8489 pp_path ppf path
8590
8691 let recover_logs t ~tail tname =
You can’t perform that action at this time.
0 commit comments