14 lines
595 B
Bash
14 lines
595 B
Bash
#!/usr/bin/env bash
|
|
# CHECK-q97 -- the Q97 gate, rooted at the tree this file sits in.
|
|
#
|
|
# Grades tools/selftest_sweep.py's Q97 rule: a refusal at rc 2 that is really
|
|
# argparse failing to parse the INVOCATION (usage: lead, unrecognized
|
|
# arguments, ...) is ECHOES_USAGE -- fatal on both input axes -- so a renamed
|
|
# flag can no longer turn the malformed/read axes green. Exit codes follow the
|
|
# repo contract: 0 clean, 1 graded fault, 2 could not grade.
|
|
#
|
|
# bash wizard-work/volt/CHECK-q97
|
|
set -u
|
|
cd "$(dirname "${BASH_SOURCE[0]}")/../.." || exit 2
|
|
exec python3 wizard-work/volt/q97_check.py
|