test.sh: skip _helper modules (tests/**/_*.luau)

This commit is contained in:
4DBug committed 2026-10-31 09:24:14 -05:00
1 parent e1ffb21494
commit 55e50e203d
1 file changed
+1 -1
+1 -1
View File
@@ -14,7 +14,7 @@ python3 -I tools/fixtures.py $1 || { echo "FAILED: fixtures"; exit 1; }
python3 -I tools/gen_registry.py > /dev/null || { echo "FAILED: gen_registry"; exit 1; }
python3 -I tools/build.py || { echo "FAILED: build"; exit 1; }
passed=0
for t in $(find tests -name '*.luau' -not -path 'tests/gen/*' -not -path 'tests/fixtures/*' -not -name 'T.luau' | sort); do
for t in $(find tests -name '*.luau' -not -path 'tests/gen/*' -not -path 'tests/fixtures/*' -not -name 'T.luau' -not -name '_*' | sort); do
[ -n "$1" ] && [[ "$t" != *$1* ]] && continue
for rt in $RUNTIMES; do
echo "== $t ($rt)"