[Groonga-commit] ranguba/rroonga at 61350a8 [master] test: omit reopen test on Windows

Back to archive index
Kouhei Sutou null+****@clear*****
Sat May 11 06:47:28 JST 2019


Kouhei Sutou	2019-05-11 06:47:28 +0900 (Sat, 11 May 2019)

  Revision: 61350a89f3f25cf19ee78756023c55840e9be634
  https://github.com/ranguba/rroonga/commit/61350a89f3f25cf19ee78756023c55840e9be634

  Message:
    test: omit reopen test on Windows
    
    Because we can't move opening file on Windows.

  Modified files:
    test/test-logger.rb
    test/test-query-logger.rb

  Modified: test/test-logger.rb (+2 -1)
===================================================================
--- test/test-logger.rb    2019-05-11 06:47:03 +0900 (fb175432)
+++ test/test-logger.rb    2019-05-11 06:47:28 +0900 (0a17580f)
@@ -1,4 +1,4 @@
-# Copyright (C) 2010-2018  Kouhei Sutou <kou****@clear*****>
+# Copyright (C) 2010-2019  Kouhei Sutou <kou****@clear*****>
 # Copyright (C) 2016  Masafumi Yokoyama <yokoy****@clear*****>
 #
 # This library is free software; you can redistribute it and/or
@@ -30,6 +30,7 @@ class LoggerTest < Test::Unit::TestCase
   end
 
   def test_reopen
+    only_not_windows
     Groonga::Logger.unregister
     Groonga::Logger.path = @log_path.to_s
     if @log_path.exist?

  Modified: test/test-query-logger.rb (+2 -1)
===================================================================
--- test/test-query-logger.rb    2019-05-11 06:47:03 +0900 (e9bef8ab)
+++ test/test-query-logger.rb    2019-05-11 06:47:28 +0900 (42dcd908)
@@ -1,4 +1,4 @@
-# Copyright (C) 2015-2018  Kouhei Sutou <kou****@clear*****>
+# Copyright (C) 2015-2019  Kouhei Sutou <kou****@clear*****>
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -29,6 +29,7 @@ class QueryLoggerTest < Test::Unit::TestCase
   end
 
   def test_reopen
+    only_not_windows
     Groonga::QueryLogger.unregister
     Groonga::QueryLogger.path = @query_log_path.to_s
     if @query_log_path.exist?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190511/ffad8594/attachment-0001.html>


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