aboutsummaryrefslogtreecommitdiffstats
path: root/actionwebservice/test/run
diff options
context:
space:
mode:
Diffstat (limited to 'actionwebservice/test/run')
-rwxr-xr-xactionwebservice/test/run8
1 files changed, 4 insertions, 4 deletions
diff --git a/actionwebservice/test/run b/actionwebservice/test/run
index 5c6f8b2bc2..90ad85fff5 100755
--- a/actionwebservice/test/run
+++ b/actionwebservice/test/run
@@ -1,5 +1,5 @@
#!/usr/bin/env ruby
-
-Dir[File.join(File.dirname(__FILE__), '*_test.rb')].each do |f|
- require f
-end
+require 'test/unit'
+args = Dir[File.join(File.dirname(__FILE__), '*_test.rb')] + Dir[File.join(File.dirname(__FILE__), 'ws/*_test.rb')]
+(r = Test::Unit::AutoRunner.new(true)).process_args(args)
+exit r.run