Browse Source

Tests failing with a signal are also test faillures

default_compile_flags
vector-of-bool 5 years ago
parent
commit
30b5bfb585
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/dds/build.cpp

+ 1
- 1
src/dds/build.cpp View File

for (const auto& exe : test_exes) { for (const auto& exe : test_exes) {
spdlog::info("Running test: {}", fs::relative(exe, params.out_root).string()); spdlog::info("Running test: {}", fs::relative(exe, params.out_root).string());
const auto test_res = run_proc({exe.string()}); const auto test_res = run_proc({exe.string()});
if (test_res.retc != 0) {
if (!test_res.okay()) {
spdlog::error("TEST FAILED:\n{}", test_res.output); spdlog::error("TEST FAILED:\n{}", test_res.output);
} }
} }

Loading…
Cancel
Save