[Groonga-commit] groonga/groonga-query-log [master] test: don't replace no accessor variables with destractive method

Back to archive index

Haruka Yoshihara null+****@clear*****
Thu Dec 13 17:26:55 JST 2012


Haruka Yoshihara	2012-12-13 17:26:55 +0900 (Thu, 13 Dec 2012)

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

  Log:
    test: don't replace no accessor variables with destractive method

  Modified files:
    Rakefile

  Modified: Rakefile (+3 -3)
===================================================================
--- Rakefile    2012-12-13 16:12:44 +0900 (2bb1f03)
+++ Rakefile    2012-12-13 17:26:55 +0900 (b1007cd)
@@ -40,7 +40,7 @@ end
 
 desc "Run tests"
 task :test do
-  Rake.application.top_level_tasks.replace(["test"])
-  options = ARGV - ["test"]
-  ruby("test/run-test.rb", *options)
+  run_test_options = ARGV - ["test"]
+  tests_exit_status = ruby("test/run-test.rb", *run_test_options)
+  exit(tests_exit_status)
 end
-------------- next part --------------
HTML����������������������������...
Download 



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