github.com/NeowayLabs/nash@v0.2.2-0.20200127205349-a227041ffd50/hack/check.sh (about) 1 #!/bin/bash 2 3 set -e 4 5 go test -race -coverprofile=coverage.txt ./... 6 7 echo "running stdlib and stdbin tests" 8 tests=$(find ./stdlib ./stdbin -name "*_test.sh") 9 10 for t in ${tests[*]} 11 do 12 echo 13 echo "running test: "$t 14 ./cmd/nash/nash $t 15 echo "success" 16 done