|
|
|
|
|
|
|
|
[&] { return run_proc({.command = {exe_path.string()}, .timeout = 10s}); }); |
|
|
[&] { return run_proc({.command = {exe_path.string()}, .timeout = 10s}); }); |
|
|
|
|
|
|
|
|
if (res.okay()) { |
|
|
if (res.okay()) { |
|
|
dds_log(info, "{} - .br.green[PASS] - {:>9L}μs", msg, dur.count()); |
|
|
|
|
|
|
|
|
dds_log(info, "{} - .br.green[PASS] - {:>9L}μs"_styled, msg, dur.count()); |
|
|
return std::nullopt; |
|
|
return std::nullopt; |
|
|
} else { |
|
|
} else { |
|
|
auto exit_msg = fmt::format(res.signal ? "signalled {}" : "exited {}", |
|
|
auto exit_msg = fmt::format(res.signal ? "signalled {}" : "exited {}", |