[Groonga-commit] groonga/fluent-plugin-groonga at 8a4f220 [master] test: use auto runner's feature to load test files

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Oct 21 15:52:19 JST 2014


Kouhei Sutou	2014-10-21 15:52:19 +0900 (Tue, 21 Oct 2014)

  New Revision: 8a4f22081f63342cb0560674d40ae676ad2f066b
  https://github.com/groonga/fluent-plugin-groonga/commit/8a4f22081f63342cb0560674d40ae676ad2f066b

  Message:
    test: use auto runner's feature to load test files

  Modified files:
    test/run-test.rb

  Modified: test/run-test.rb (+1 -5)
===================================================================
--- test/run-test.rb    2014-10-21 15:51:20 +0900 (4bb9362)
+++ test/run-test.rb    2014-10-21 15:52:19 +0900 (cd8da9e)
@@ -32,10 +32,6 @@ $LOAD_PATH.unshift(lib_dir)
 
 require "fluent/test"
 
-Dir.glob("#{base_dir}/test/**/test{_,-}*.rb") do |file|
-  require file.sub(/\.rb$/, '')
-end
-
 ENV["TEST_UNIT_MAX_DIFF_TARGET_STRING_SIZE"] ||= "5000"
 
-exit Test::Unit::AutoRunner.run
+exit(Test::Unit::AutoRunner.run(true, test_dir))
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index