test.sh: skip _helper modules (tests/**/_*.luau)
This commit is contained in:
1 parent
9456a90e4f
commit
7c0486eb72
1 file changed
+1
-1
+1
-1
@@ -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/gen_registry.py > /dev/null || { echo "FAILED: gen_registry"; exit 1; }
|
||||||
python3 -I tools/build.py || { echo "FAILED: build"; exit 1; }
|
python3 -I tools/build.py || { echo "FAILED: build"; exit 1; }
|
||||||
passed=0
|
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
|
[ -n "$1" ] && [[ "$t" != *$1* ]] && continue
|
||||||
for rt in $RUNTIMES; do
|
for rt in $RUNTIMES; do
|
||||||
echo "== $t ($rt)"
|
echo "== $t ($rt)"
|
||||||
|
|||||||
Reference in new issue
Block a user