mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
21 lines
298 B
Bash
Executable File
21 lines
298 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 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
|