From 932203df205026f6a35184ee8b51c873d72c644f Mon Sep 17 00:00:00 2001 From: jochen Date: Sun, 11 Oct 2026 20:23:14 +0200 Subject: [PATCH] Leave the store tests' proof to the check of its own (#233) --- merge-check.sh | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/merge-check.sh b/merge-check.sh index 775baa06..296fe271 100755 --- a/merge-check.sh +++ b/merge-check.sh @@ -32,18 +32,3 @@ else echo "NOT RACE-CHECKED: the toolchain holds no C compiler; the suite runs without the race detector" CGO_ENABLED=0 go test -count=1 -timeout 30m ./... fi - -# **The store tests of novox/hq ADR 0299 ran** (review of #232): a test that needs the store skips without one, -# and a skip passes unseen. With the store this check is given, each must have run and passed, said by name; -# without one, that is said. -adr0299='^(TestAStopWithoutAMergeWalksTheOthersAgain|TestAStopWithoutAMergeEndsTheMergesThatContainIt|TestAStopWalksTheOthersAgainInTheOpenBatch|TestAStopNamesWhatStaysOnTheMachinesAndWhatStillCarriesIt|TestAStopWithoutAMergeLeavesItOutOfABatch|TestSavingPlansAndMovingMergesIsOneAct)$' -if [ -n "${MESH_TEST_POSTGRES:-}" ]; then - ran=$(CGO_ENABLED=0 go test -count=1 -v -run "$adr0299" ./cmd/mesh-controller 2>&1 | grep -E '^--- (PASS|FAIL|SKIP)' || true) - printf 'ADR 0299 store tests:\n%s\n' "$ran" - if [ "$(printf '%s\n' "$ran" | grep -c '^--- PASS')" -ne 6 ]; then - echo "ADR 0299's store tests did not all run and pass against the store" - exit 1 - fi -else - echo "NOT STORE-CHECKED: no MESH_TEST_POSTGRES, so ADR 0299's store tests skipped" -fi