instiki/vendor/rails/activerecord/test/all.sh

9 lines
172 B
Bash
Raw Normal View History

2007-01-22 14:43:50 +01:00
#!/bin/sh
if [ -z "$1" ]; then
echo "Usage: $0 connections/<db_library>" 1>&2
exit 1
fi
ruby -I $1 -e 'Dir.foreach(".") { |file| require file if file =~ /_test.rb$/ }'