Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
14 lines
541 B
Bash
Executable File
14 lines
541 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Lua-on-SX conformance runner — walks lib/lua/lua-tests/*.lua, runs each via
|
|
# `lua-eval-ast` on a long-lived sx_server.exe subprocess, classifies
|
|
# pass/fail/timeout, and writes lib/lua/scoreboard.{json,md}.
|
|
#
|
|
# Usage:
|
|
# bash lib/lua/conformance.sh # full suite
|
|
# bash lib/lua/conformance.sh --filter sort # filter by filename substring
|
|
# bash lib/lua/conformance.sh -v # per-file verbose
|
|
|
|
set -uo pipefail
|
|
cd "$(git rev-parse --show-toplevel)"
|
|
exec python3 lib/lua/conformance.py "$@"
|