Kouhei Sutou 2019-05-12 09:28:35 +0900 (Sun, 12 May 2019) Revision: 7dae1d0621ac8e90d61ebcbd5fa4b381a6dd35f4 https://github.com/groonga/grntest/commit/7dae1d0621ac8e90d61ebcbd5fa4b381a6dd35f4 Message: Add support for testing with installed Groonga Modified files: lib/grntest/tester.rb Modified: lib/grntest/tester.rb (+8 -1) =================================================================== --- lib/grntest/tester.rb 2019-05-12 06:44:33 +0900 (5b0528c) +++ lib/grntest/tester.rb 2019-05-12 09:28:35 +0900 (7262b0a) @@ -420,7 +420,14 @@ module Grntest unless groonga_path.absolute? groonga_path = Pathname(resolve_command_path(@groonga)).expand_path end - groonga_path.parent.parent + "plugins" + base_dir = groonga_path.parent.parent + installed_plugins_dir = base_dir + "lib" + "groonga" + "plugins" + build_plugins_dir = base_dir + "plugins" + if installed_plugins_dir.exist? + installed_plugins_dir + else + build_plugins_dir + end end private -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190512/693395b4/attachment-0001.html>