-
-
Save rafaelfranca/f6828a03ee4d40bffbc3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
times=${1-10} | |
fails=0 | |
for (( i = 0; i < $times; i++ )); do | |
bundle exec rake test | |
if [ $? -ne 0 ] | |
then | |
fails=`expr $fails + 1` | |
fi | |
done | |
echo "$times times, $fails failures" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment