[Groonga-mysql-commit] mroonga/mroonga at 55066f9 [master] test: fix a bug that passed options are ignored

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Aug 9 13:15:08 JST 2015


Kouhei Sutou	2015-08-09 13:15:08 +0900 (Sun, 09 Aug 2015)

  New Revision: 55066f99e3a0e49c43b39f8dbb9fe9aa35cf0da2
  https://github.com/mroonga/mroonga/commit/55066f99e3a0e49c43b39f8dbb9fe9aa35cf0da2

  Message:
    test: fix a bug that passed options are ignored

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

  Modified: test/run-sql-test.sh (+4 -2)
===================================================================
--- test/run-sql-test.sh    2015-08-09 13:08:40 +0900 (071f7bf)
+++ test/run-sql-test.sh    2015-08-09 13:15:08 +0900 (4bafc12)
@@ -161,6 +161,7 @@ if [ -n "${plugins_dir}" ]; then
   fi
 fi
 
+mysql_test_run_options=""
 test_suite_names=""
 test_names=""
 while [ $# -gt 0 ]; do
@@ -169,9 +170,10 @@ while [ $# -gt 0 ]; do
   case "$arg" in
     --manual-gdb|--gdb|--debug)
       n_processors=1
+      mysql_test_run_options="${mysql_test_run_options} ${arg}"
       ;;
     --*)
-      :
+      mysql_test_run_options="${mysql_test_run_options} ${arg}"
       ;;
     *)
       case "$arg" in
@@ -229,4 +231,4 @@ fi
 (cd "$build_mysql_test_dir" && \
     ./mysql-test-run.pl \
       ${mysql_test_run_args} \
-      "$@")
+      ${mysql_test_run_options})
-------------- next part --------------
HTML����������������������������...
다운로드 



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