minor cleanup

This commit is contained in:
Roger Pack 2009-04-18 23:07:30 +00:00
parent 021cd36670
commit 49726a5d80

View File

@ -1,7 +1,7 @@
# I suppose if all the tests don't blow up, that probably means pass # I suppose if all the tests don't blow up, that probably means pass
require 'mysqlplus' require 'mysqlplus'
for file in Dir.glob('*_test.rb') do for file in Dir.glob('*_test.rb') do
puts 'testing ' + file + "\n\n\n\n\n" puts 'testing ' + file
# fork so we don't run out of connections to the mysql db, as few tests ever clean up their old processes # fork so we don't run out of connections to the mysql db, as few tests ever clean up their old processes
pid = Process.fork { load file } pid = Process.fork { load file }
Process.wait(pid) Process.wait(pid)