Permalink
Browse files

add test runner for all

  • Loading branch information...
1 parent e14c8b9 commit 021cd366702265b81bb88964bc709b5a1a4d8597 @rdp rdp committed Apr 18, 2009
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -0,0 +1,9 @@
+# I suppose if all the tests don't blow up, that probably means pass
+require 'mysqlplus'
+for file in Dir.glob('*_test.rb') do
+ puts 'testing ' + file + "\n\n\n\n\n"
+ # 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 }
+ Process.wait(pid)
+end
+puts 'successful'
File renamed without changes.

0 comments on commit 021cd36

Please sign in to comment.