#!/bin/sh # Candidate-input strict-mode self-test. # # Strict JSON rejects duplicate keys and non-finite numbers. Those symbols only # exist in a Bundle that contains this component's current modules, so this # suite is separate from the default `scripts/test.sh` (which must keep running # against the frozen ecosystem Bundle). Callers pass an explicit candidate # Bundle produced from the current component gitlink, e.g. by the root repo's # `scripts/build-stdlib.py` / acceptance pipeline. set -eu : "${MARQDO_BIN:?set MARQDO_BIN to the verified marqdo executable}" : "${MARQDO_STDLIB_DIR:?set MARQDO_STDLIB_DIR to a candidate Bundle containing current modules}" MARQDO_STDLIB_CASES_DIR="$(CDPATH= cd -- "$(dirname -- "$0")/../tests/cases-strict" && pwd)" export MARQDO_STDLIB_CASES_DIR exec python3 "$(dirname "$0")/run_cases.py" "$@"