Browse Source

Log spelling and alignment

default_compile_flags
vector-of-bool 5 years ago
parent
commit
726be6ec01
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/dds/build/plan/exe.cpp

+ 2
- 2
src/dds/build/plan/exe.cpp View File

auto end = std::chrono::high_resolution_clock::now(); auto end = std::chrono::high_resolution_clock::now();
auto dur = std::chrono::duration_cast<std::chrono::microseconds>(end - start); auto dur = std::chrono::duration_cast<std::chrono::microseconds>(end - start);
if (res.okay()) { if (res.okay()) {
spdlog::info("{} - PASSED in {:>6n}μs", msg, dur.count());
spdlog::info("{} - PASSED - {:>9n}μs", msg, dur.count());
return std::nullopt; return std::nullopt;
} else { } else {
spdlog::error("{} - FAILED in {:>6n}μs [exitted {}]", msg, dur.count(), res.retc);
spdlog::error("{} - FAILED - {:>9n}μs [exited {}]", msg, dur.count(), res.retc);
test_failure f; test_failure f;
f.executable_path = exe_path; f.executable_path = exe_path;
f.output = res.output; f.output = res.output;

Loading…
Cancel
Save