This commit is contained in:
parent
be1986ca08
commit
4d09eaac2a
10 changed files with 276 additions and 7 deletions
|
|
@ -22,6 +22,7 @@ import std;
|
|||
import :Test;
|
||||
import :Clang;
|
||||
import :Platform;
|
||||
import :Progress;
|
||||
namespace fs = std::filesystem;
|
||||
using namespace Crafter;
|
||||
|
||||
|
|
@ -161,6 +162,7 @@ namespace {
|
|||
}
|
||||
|
||||
void PrintResult(const TestResult& r, std::string_view runnerName) {
|
||||
Progress::Clear();
|
||||
auto ms = r.duration.count();
|
||||
std::string runnerSuffix = (runnerName.empty() || runnerName == "local")
|
||||
? std::string()
|
||||
|
|
@ -719,6 +721,7 @@ TestSummary Crafter::RunTests(Configuration& projectCfg, const RunTestsOptions&
|
|||
}
|
||||
summary.results = std::move(results);
|
||||
|
||||
Progress::Clear();
|
||||
std::print("\n");
|
||||
std::vector<std::string> parts;
|
||||
if (summary.passed) parts.push_back(std::format("{} passed", summary.passed));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue