loading bar
Some checks failed
CI / build-test-release (push) Failing after 4m41s

This commit is contained in:
Jorijn van der Graaf 2026-04-29 03:27:11 +02:00
commit 4d09eaac2a
10 changed files with 276 additions and 7 deletions

View file

@ -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));