[Groonga-commit] groonga/groonga-query-log [master] Support "rake test OPTIONS -- OPTIONS_FOR_TEST_UNIT_AUTORUNNER"

Back to archive index

Haruka Yoshihara null+****@clear*****
Thu Dec 13 15:14:10 JST 2012


Haruka Yoshihara	2012-12-13 15:14:10 +0900 (Thu, 13 Dec 2012)

  New Revision: b43ada02101b53266a6e93bb7c4c63a48eab2e44
  https://github.com/groonga/groonga-query-log/commit/b43ada02101b53266a6e93bb7c4c63a48eab2e44

  Log:
    Support "rake test OPTIONS -- OPTIONS_FOR_TEST_UNIT_AUTORUNNER"
    
    ex.)
      * rake test --trace -- --testcase /load/
      * rake test --trace -- --testcase=test_load
      * rake test -- --help

  Modified files:
    Rakefile

  Modified: Rakefile (+3 -1)
===================================================================
--- Rakefile    2012-12-13 14:20:51 +0900 (66368ff)
+++ Rakefile    2012-12-13 15:14:10 +0900 (2bb1f03)
@@ -40,5 +40,7 @@ end
 
 desc "Run tests"
 task :test do
-  ruby("test/run-test.rb")
+  Rake.application.top_level_tasks.replace(["test"])
+  options = ARGV - ["test"]
+  ruby("test/run-test.rb", *options)
 end
-------------- next part --------------
HTML����������������������������...
Download 



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