Permalink
Browse files

Better test_runner

  • Loading branch information...
1 parent 7d848e4 commit 1862339e4de21bcc787ebb5d1c2605b7f71af415 @enriclluelles committed Oct 6, 2012
Showing with 4 additions and 4 deletions.
  1. +2 −1 .gitignore
  2. +2 −3 test_runner
View
@@ -4,5 +4,6 @@ SampleApp/tmp/**/*
SampleApp/db/test.sqlite3
/.rvmrc
/Gemfile.lock
+gemfiles/*.lock
test/log
-test/tmp
+test/tmp
View
@@ -1,12 +1,11 @@
#!/usr/bin/env bash
-for file in gemfiles/* Gemfile; do
+shopt -s extglob
+for file in gemfiles/!(*.lock) Gemfile; do
echo Using $file
- rm $file.lock &> /dev/null
export BUNDLE_GEMFILE=$file
bundle install > /dev/null
bundle exec rake test
- rm $file.lock &> /dev/null
echo -e "\n\n"
done
export BUNDLE_GEMFILE=

0 comments on commit 1862339

Please sign in to comment.