Files
bun.sh/scripts/check-node.sh
2024-12-11 13:58:09 -08:00

21 lines
313 B
Bash
Executable File

#!/bin/bash
i=0
j=0
for x in $(git ls-files test/js/node/test/parallel --exclude-standard --others | grep test-$1)
do
i=$((i+1))
echo ./$x
if timeout --foreground 2 "$PWD/build/debug/bun-debug" ./$x
then
j=$((j+1))
git add ./$x
fi
echo
echo
done
echo $i tests tested
echo $j tests passed