added the --profile flag to make use of the minitest-profile tool

This commit is contained in:
Martijn den Hoedt 2015-03-30 17:50:59 +02:00
parent b2aa8b6e68
commit 397492fa38
1 changed files with 2 additions and 2 deletions

View File

@ -10,6 +10,6 @@ if [ -d test/dest ]
fi
if [[ $# -lt 1 ]]
then time bundle exec rake test
else time bundle exec ruby -Itest "$@"
then time bundle exec rake TESTOPTS='--profile' test
else time bundle exec ruby -Itest "$@" --profile
fi