Permalink
Browse files

Update test/all.sh

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7896 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 6cc7095 commit 619f2897f59850842951982928d14ccacb16ac3b @jeremy jeremy committed Oct 15, 2007
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/test/all.sh
View
@@ -1,8 +1,8 @@
#!/bin/sh
if [ -z "$1" ]; then
- echo "Usage: $0 connections/<db_library>" 1>&2
+ echo "Usage: $0 <database>" 1>&2
exit 1
fi
-ruby -I $1 -e 'Dir.foreach(".") { |file| require file if file =~ /_test.rb$/ }'
+ruby -I connections/native_$1 -e 'Dir["**/*_test.rb"].each { |path| require path }'

0 comments on commit 619f289

Please sign in to comment.