Merge remote-tracking branch 'origin/main' into feat/one-group-one-plan
mesh/merge-gate head 0771797431ed merged into trunk f69f84b9e54c beside mesh-controller#374@2d24fbb7 — pass: builds gitea, mesh-delivery → novox; no bus st…
mesh/repo-check head 0771797431ed merged into trunk f69f84b9e54c beside mesh-controller#374@2d24fbb7 — pass: its merge-check.sh passed, each part in its to…
mesh/delivery delivered
mesh/delivery-group group feat/one-group-one-plan delivered: every member is delivered
mesh/merge-gate head 0771797431ed merged into trunk f69f84b9e54c beside mesh-controller#374@2d24fbb7 — pass: builds gitea, mesh-delivery → novox; no bus st…
mesh/repo-check head 0771797431ed merged into trunk f69f84b9e54c beside mesh-controller#374@2d24fbb7 — pass: its merge-check.sh passed, each part in its to…
mesh/delivery delivered
mesh/delivery-group group feat/one-group-one-plan delivered: every member is delivered
This commit is contained in:
+6
-3
@@ -17,7 +17,8 @@
|
|||||||
# toolchain has a C compiler. A requirement of the mesh's own forge the module cache does not hold (a
|
# toolchain has a C compiler. A requirement of the mesh's own forge the module cache does not hold (a
|
||||||
# pinned SDK commit) is taken from its repository's clone beside the check (checks/deps); a module whose
|
# pinned SDK commit) is taken from its repository's clone beside the check (checks/deps); a module whose
|
||||||
# dependencies still cannot be had **fails the check**, by name and why — its tests could not run, and a
|
# dependencies still cannot be had **fails the check**, by name and why — its tests could not run, and a
|
||||||
# test that could not run is a failure, never a note (novox/hq issue 385). A module written in
|
# test that could not run is a failure, never a note (novox/hq issue 385). The integration tests (`//go:build
|
||||||
|
# integration`) run here, with -tags integration, and only here. A module written in
|
||||||
# TypeScript is type-checked and tested by
|
# TypeScript is type-checked and tested by
|
||||||
# merge-check-typescript.sh, declared above, in the TypeScript toolchain (novox/hq issues 302, 311);
|
# merge-check-typescript.sh, declared above, in the TypeScript toolchain (novox/hq issues 302, 311);
|
||||||
# 3. the words (novox/hq ADR 0244): no word the glossary retired for the tools, as copied in
|
# 3. the words (novox/hq ADR 0244): no word the glossary retired for the tools, as copied in
|
||||||
@@ -183,8 +184,10 @@ for m in $touched; do
|
|||||||
fi
|
fi
|
||||||
cgo=0
|
cgo=0
|
||||||
[ -n "$race" ] && cgo=1
|
[ -n "$race" ] && cgo=1
|
||||||
(cd "modules/$m" && CGO_ENABLED=$cgo GOPRIVATE=git.novox.be go vet ${modfile:+"-modfile=$modfile"} ./... &&
|
# The integration tests (a file whose first line is `//go:build integration`: a test that starts a bus, a store or
|
||||||
CGO_ENABLED=$cgo GOPRIVATE=git.novox.be go test ${modfile:+"-modfile=$modfile"} $race -count=1 ./...)
|
# another process) run here and nowhere else: the unit suite stays under a second (novox/hq playbook 07).
|
||||||
|
(cd "modules/$m" && CGO_ENABLED=$cgo GOPRIVATE=git.novox.be go vet -tags integration ${modfile:+"-modfile=$modfile"} ./... &&
|
||||||
|
CGO_ENABLED=$cgo GOPRIVATE=git.novox.be go test -tags integration ${modfile:+"-modfile=$modfile"} $race -count=1 ./...)
|
||||||
done
|
done
|
||||||
if [ -n "$untestable" ]; then
|
if [ -n "$untestable" ]; then
|
||||||
echo "the check fails: the tests of$untestable could not run (novox/hq issue 385)"
|
echo "the check fails: the tests of$untestable could not run (novox/hq issue 385)"
|
||||||
|
|||||||
Reference in New Issue
Block a user