From 621438de5ffa6b9053bb115ca7f435a1020189b3 Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Fri, 13 Nov 2026 17:59:56 +0100 Subject: [PATCH] docs: say how many steps a build runs at once The README says in "Writing a project.cpp" that a build runs at most as many of its steps at once as the machine has hardware threads, which steps those are, and that an ExternalDependency's CMake build and the tests are not among them. Under Tests, --jobs= is named as what counts the tests, and --jobs=1 as one test at a time where it said "serial mode": the steps of that one test's build still run side by side. --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e06b24c..e309d18 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,8 @@ Run `crafter-build` in that directory, outputs land at `bin/myapp--.log`. - A broken fixture `project.cpp` is reported as a single failed test, not a fatal error — other tests still run. @@ -253,7 +255,7 @@ crafter-build test 'Unit*' # glob-filter te crafter-build test --list # enumerate without running crafter-build test --target=x86_64-w64-mingw32 # only tests for this target crafter-build test --target=x86_64-w64-mingw32 --runner=cmd:wine -crafter-build test --jobs=1 # serial mode +crafter-build test --jobs=1 # one test at a time crafter-build test --timeout=5 # override per-test timeout ```