diff --git a/scripts/check-node-all.sh b/scripts/check-node-all.sh index fddb9b987f..3928ce9a34 100755 --- a/scripts/check-node-all.sh +++ b/scripts/check-node-all.sh @@ -2,8 +2,6 @@ i=0 j=0 -r=0 -f=0 if [ -z "$1" ] then @@ -20,28 +18,17 @@ case $1 in esac export BUN_DEBUG_QUIET_LOGS=1 -#clean regressions.txt and fails.txt -rm ./regressions.txt -rm ./fails.txt for x in $(find test/js/node/test/parallel -type f -name "test-$1*.js" | sort) do i=$((i+1)) echo ./$x - if timeout 5 $PWD/build/debug/bun-debug ./$x + if timeout 2 $PWD/build/debug/bun-debug ./$x then j=$((j+1)) git add $x - elif git ls-files --error-unmatch $x > /dev/null 2>&1; then - echo ./$x >> ./regressions.txt - r=$((r+1)) # Increment regression count - else - echo ./$x >> ./fails.txt - f=$((f+1)) # Increment failure count fi done echo $i tests tested echo $j tests passed -echo $r tests regressions -echo $f tests failed \ No newline at end of file