null+****@clear*****
null+****@clear*****
2012年 6月 18日 (月) 16:43:57 JST
Haruka Yoshihara 2012-06-18 16:43:57 +0900 (Mon, 18 Jun 2012) New Revision: d12cf3b4072fafad9a505a0d4435892d560b0827 https://github.com/groonga/groonga/commit/d12cf3b4072fafad9a505a0d4435892d560b0827 Log: test: fix the bug that all tests are ran even when targets are specified Modified files: test/function/run-test.sh Modified: test/function/run-test.sh (+4 -3) =================================================================== --- test/function/run-test.sh 2012-06-18 17:16:52 +0900 (1e42bfb) +++ test/function/run-test.sh 2012-06-18 16:43:57 +0900 (17574ef) @@ -60,23 +60,24 @@ next_argument_is_long_option_value="false" for argument in "$@"; do case "$argument" in --*=*) + next_argument_is_long_option_value="false" ;; --keep-database|--no-*|--version|--help) - # no argument options + next_argument_is_long_option_value="false" ;; --*) next_argument_is_long_option_value="true" - break ;; -*) + next_argument_is_long_option_value="false" ;; *) if test "$next_argument_is_long_option_value" != "true"; then have_targets="true" fi + next_argument_is_long_option_value="false" ;; esac - next_argument_is_long_option_value="false" done grntest_options=("$@") -------------- next part -------------- HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B... Download