[Groonga-commit] groonga/groonga [master] test: use "bundle update" in grntest to install groonga-command gem

Back to archive index

Haruka Yoshihara null+****@clear*****
Wed Nov 28 15:26:59 JST 2012


Haruka Yoshihara	2012-11-28 15:26:59 +0900 (Wed, 28 Nov 2012)

  New Revision: d947aa4791d416a157209d4c76e0feb004f91289
  https://github.com/groonga/groonga/commit/d947aa4791d416a157209d4c76e0feb004f91289

  Log:
    test: use "bundle update" in grntest to install groonga-command gem

  Modified files:
    test/command/run-test.sh

  Modified: test/command/run-test.sh (+2 -5)
===================================================================
--- test/command/run-test.sh    2012-11-28 15:12:45 +0900 (cf009bc)
+++ test/command/run-test.sh    2012-11-28 15:26:59 +0900 (89ce9a2)
@@ -70,11 +70,6 @@ if test -z "$RUBY"; then
     exit 1
 fi
 
-groonga_command_path=`gem which groonga-command &> /dev/null`
-if [ -n $groonga_command_path ]; then
-    $RUBY -S gem install groonga-command
-fi
-
 if ! type bundle > /dev/null; then
     $RUBY -S gem install bundler
 fi
@@ -83,6 +78,8 @@ grntest_dir="$BASE_DIR/grntest"
 if ! test -d "$grntest_dir"; then
     git clone --depth 1 git://github.com/groonga/grntest.git "$grntest_dir"
     (cd "$grntest_dir" && bundle install)
+else
+    (cd "$grntest_dir" && git pull && bundle update)
 fi
 
 have_targets="false"
-------------- next part --------------
HTML����������������������������...
下载 



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