File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -63,24 +63,29 @@ struct
63
63
in
64
64
ListLabels. iter display_lines ~f: (Fmt. pf ppf " %s@\n " )
65
65
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 } =
67
70
(* We don't create symlinks on Windows. *)
68
71
let via_symlink = not Sys. win32 in
69
72
Filename. concat root (if via_symlink then suite_name else uuid)
70
73
71
74
let output_fpath t tname = Filename. concat (log_dir t) (Test_name. file tname)
72
75
76
+ let output_fpath_pretty t tname = Filename. concat (log_dir_pretty t) (Test_name. file tname)
77
+
73
78
let active_or_exn = function
74
79
| Active t -> t
75
80
| Inactive -> failwith " internal error: no log location"
76
81
77
82
let pp_current_run_dir t ppf =
78
83
let t = active_or_exn t in
79
- pp_path ppf (log_dir t)
84
+ pp_path ppf (log_dir_pretty t)
80
85
81
86
let pp_log_location t tname ppf =
82
87
let t = active_or_exn t in
83
- let path = output_fpath t tname in
88
+ let path = output_fpath_pretty t tname in
84
89
pp_path ppf path
85
90
86
91
let recover_logs t ~tail tname =
You can’t perform that action at this time.
0 commit comments