From 397492fa383ceb63d1e151b2509938c8f76e9e54 Mon Sep 17 00:00:00 2001 From: Martijn den Hoedt Date: Mon, 30 Mar 2015 17:50:59 +0200 Subject: [PATCH] added the --profile flag to make use of the minitest-profile tool --- script/test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/test b/script/test index 551a7c4c..97f0daff 100755 --- a/script/test +++ b/script/test @@ -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