lua: conformance.sh + Python runner (writes scoreboard.{json,md})
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
This commit is contained in:
13
lib/lua/conformance.sh
Executable file
13
lib/lua/conformance.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/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 "$@"
|
||||
Reference in New Issue
Block a user