Kouhei Sutou 2019-05-11 06:47:03 +0900 (Sat, 11 May 2019) Revision: ce963ed4c37e0a2ab279be4194a6c66cbb4ce300 https://github.com/ranguba/rroonga/commit/ce963ed4c37e0a2ab279be4194a6c66cbb4ce300 Message: test: use only_not_windows Modified files: test/groonga-test-utils.rb test/test-table.rb Modified: test/groonga-test-utils.rb (+5 -1) =================================================================== --- test/groonga-test-utils.rb 2019-05-10 18:22:51 +0900 (0d50b5f8) +++ test/groonga-test-utils.rb 2019-05-11 06:47:03 +0900 (75ff862a) @@ -1,5 +1,5 @@ # Copyright (C) 2015 Masafumi Yokoyama <yokoy****@clear*****> -# Copyright (C) 2009-2015 Kouhei Sutou <kou****@clear*****> +# Copyright (C) 2009-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 @@ -173,6 +173,10 @@ module GroongaTestUtils /cygwin|mingw|mswin/ === RUBY_PLATFORM end + def only_not_windows + omit("This test is only for non Windows system.") if windows? + end + def support_self_recursive_equal? self_recursive_hash1 = {} self_recursive_hash1["next"] = self_recursive_hash1 Modified: test/test-table.rb (+2 -2) =================================================================== --- test/test-table.rb 2019-05-10 18:22:51 +0900 (bbaf887c) +++ test/test-table.rb 2019-05-11 06:47:03 +0900 (b9ab3f81) @@ -1,4 +1,4 @@ -# Copyright (C) 2009-2013 Kouhei Sutou <kou****@clear*****> +# Copyright (C) 2009-2019 Kouhei Sutou <kou****@clear*****> # Copyright (C) 2016 Masafumi Yokoyama <yokoy****@clear*****> # # This library is free software; you can redistribute it and/or @@ -738,7 +738,7 @@ class TableTest < Test::Unit::TestCase private def by_other_process - only_linux + only_not_windows pid = Process.fork do yield end -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190511/8313c4de/attachment-0001.html>