[Groonga-commit] groonga/groonga-query-log at 8a89838 [master] Use the latest gqtp and groonga-client if they exist

Back to archive index

Kouhei Sutou null+****@clear*****
Tue May 21 17:06:57 JST 2013


Kouhei Sutou	2013-05-21 17:06:57 +0900 (Tue, 21 May 2013)

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

  Message:
    Use the latest gqtp and groonga-client if they exist

  Modified files:
    test/run-test.rb

  Modified: test/run-test.rb (+10 -0)
===================================================================
--- test/run-test.rb    2013-05-21 17:03:53 +0900 (2386515)
+++ test/run-test.rb    2013-05-21 17:06:57 +0900 (c610b9b)
@@ -21,6 +21,16 @@ $VERBOSE = true
 require "pathname"
 
 base_dir = Pathname.new(__FILE__).dirname.parent.expand_path
+top_dir = base_dir.parent
+
+gqtp_base_dir = top_dir + "gqtp"
+gqtp_lib_dir = gqtp_base_dir + "lib"
+$LOAD_PATH.unshift(gqtp_lib_dir.to_s)
+
+groonga_client_base_dir = top_dir + "groonga-client"
+groonga_client_lib_dir = groonga_client_base_dir + "lib"
+$LOAD_PATH.unshift(groonga_client_lib_dir.to_s)
+
 lib_dir = base_dir + "lib"
 test_dir = base_dir + "test"
 
-------------- next part --------------
HTML����������������������������...
Download 



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