if ! (cd "$APP" && go build -o "$BIN" ./cmd/ddkstat); then echo "error: go build ./cmd/ddkstat failed at the application root $APP." >&2 echo "The deliverable is a Go module whose main package is ./cmd/ddkstat." >&2 exit 1 fi # Builds ./cmd/ddkstat with `go build` and compares every report's exit code and standard output over the supplied sample log with the known answer below. Standard error is never compared. # ── A. Every report over the whole sample ─────────────────────────────────────────────── # ── B. Filters ─────────────────────────────────────────────────────────────────────────── # ── C. A filter that matches nothing ───────────────────────────────────────────────────── # ── E. Operational failures ────────────────────────────────────────────────────────────── # ── U. Usage errors ──────────────────────────────────────────────────────────────────────