Scaffold: upstream @ 7913cf1, core submodule, test runner, example
This commit is contained in:
commit
0fcda5aa09
19 files changed
+11011
No files matched your search
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
# Runs every tests/t_*.luau against the core (tools/core submodule) in the Roblox mock.
|
||||
cd "$(dirname "$0")/.."
|
||||
fail=0
|
||||
for t in tests/t_*.luau; do
|
||||
out=$(python3 tools/core/tools/test/run.py --module ImPlot3D=ImPlot3D.lua --main "$t" --quiet --roblox 2>&1)
|
||||
if echo "$out" | grep -q "^OK"; then echo "PASS $t"; else echo "FAIL $t"; echo "$out" | tail -20; fail=1; fi
|
||||
done
|
||||
exit $fail
|
||||
Reference in new issue
Block a user