File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ CBM_TEST_BINARY="$WATCHDOG_BINARY" bash "$ROOT/tests/test_worker_watchdog.sh"
280280# still exits nonzero for the user-facing tool error, but the supervisor must
281281# preserve that response instead of misreporting exit_nonzero as a file crash.
282282echo " === Step 5c: worker error-response transport regression ==="
283- bash " $ROOT /tests/test_worker_error_response.sh"
283+ CBM_TEST_BINARY= " $WATCHDOG_BINARY " bash " $ROOT /tests/test_worker_error_response.sh"
284284
285285# Step 5d (#1388) is DELIBERATELY NOT GATING HERE — see
286286# tests/test_hook_conflict_notice.sh for the full what-was-tried record.
Original file line number Diff line number Diff line change 2424set -euo pipefail
2525
2626ROOT=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) /.." && pwd) "
27- BINARY=" ${ROOT} /build/c/codebase-memory-mcp"
27+ BINARY=" ${CBM_TEST_BINARY :- ${ ROOT}/ build/ c/ codebase-memory-mcp} "
2828if [[ ! -x " ${BINARY} " && -x " ${BINARY} .exe" ]]; then
2929 BINARY=" ${BINARY} .exe"
3030fi
Original file line number Diff line number Diff line change 66set -euo pipefail
77
88ROOT=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) /.." && pwd) "
9- BINARY=" ${ROOT} /build/c/codebase-memory-mcp"
9+ # scripts/test.sh builds into $BUILD_DIR, which is NOT build/c on every leg (the
10+ # Linux containers use build/linux-arm64 / build/linux-amd64). Honour the binary
11+ # the caller built, exactly as test_parent_watchdog.sh and test_worker_watchdog.sh
12+ # do; the build/c default keeps a bare manual invocation working.
13+ BINARY=" ${CBM_TEST_BINARY:- ${ROOT} / build/ c/ codebase-memory-mcp} "
1014if [[ ! -x " ${BINARY} " && -x " ${BINARY} .exe" ]]; then
1115 BINARY=" ${BINARY} .exe"
1216fi
You can’t perform that action at this time.
0 commit comments