Browse Source

Throw if any tests fail

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

+ 4
- 0
src/dds/build.cpp View File

@@ -420,6 +420,10 @@ void dds::build(const build_params& params, const package_manifest&) {
}
}

if (n_test_fails) {
throw compile_failure("Test failures during build");
}

if (params.do_export) {
export_project(params, project);
}

Loading…
Cancel
Save