diag(quic-interop): run-matrix.sh propagates DEBUG=1 to make build

Single command for the diagnostic loop:
  DEBUG=1 ./quic/interop/run-matrix.sh -s aioquic -t multiplexing
  ./quic/interop/inspect-multiplexing.sh

Previously users had to remember to 'cd quic/interop && make build
DEBUG=1' as a separate step, which is easy to forget.
This commit is contained in:
Claude
2026-05-07 13:25:47 +00:00
parent 40e0729d2c
commit 8ae942b5aa
+11 -3
View File
@@ -100,10 +100,18 @@ if ! jq -e '.amethyst' "$RUNNER_DIR/implementations_quic.json" >/dev/null 2>&1;
mv "$tmp" "$RUNNER_DIR/implementations_quic.json"
fi
# 4. Build the endpoint image (skippable for tight loops).
# 4. Build the endpoint image (skippable for tight loops). Pass DEBUG=1
# to bake QUIC_INTEROP_DEBUG=1 into the image so the InteropClient +
# writer emit per-drain stats to stderr (visible via
# inspect-multiplexing.sh after the run). Off by default.
if [ "${SKIP_BUILD:-0}" != "1" ]; then
echo "==> building amethyst-quic-interop image"
make -C "$SCRIPT_DIR" build
if [ "${DEBUG:-0}" = "1" ]; then
echo "==> building amethyst-quic-interop image (DEBUG=1)"
make -C "$SCRIPT_DIR" build DEBUG=1
else
echo "==> building amethyst-quic-interop image"
make -C "$SCRIPT_DIR" build
fi
fi
# 5. Drive the runner.