null+****@clear*****
null+****@clear*****
2012年 4月 19日 (木) 20:19:14 JST
Kouhei Sutou 2012-04-19 20:19:14 +0900 (Thu, 19 Apr 2012) New Revision: 0e48e603d2a5ed3d096e663bbb033f705cbb6a8a Log: test: support MySQL 5.5.23 but it's not completed yet MySQL 5.5.23 doesn't have mysql-test/suite/innodb/include/. Modified files: test/run-sql-test.sh Modified: test/run-sql-test.sh (+3 -1) =================================================================== --- test/run-sql-test.sh 2012-04-19 20:10:20 +0900 (f39f873) +++ test/run-sql-test.sh 2012-04-19 20:19:14 +0900 (91596c7) @@ -72,13 +72,15 @@ done innodb_test_suite_dir="${build_test_suites_dir}/innodb" mroonga_wrapper_innodb_test_suite_dir="${build_test_suites_dir}/mroonga_wrapper_innodb" +mroonga_wrapper_innodb_include_dir="${mroonga_wrapper_innodb_test_suite_dir}/include/" if test "$0" -nt "$(dirname "${mroonga_wrapper_innodb_test_suite_dir}")"; then rm -rf "${mroonga_wrapper_innodb_test_suite_dir}" fi if ! test -d "${mroonga_wrapper_innodb_test_suite_dir}"; then cp -rp "${innodb_test_suite_dir}" "${mroonga_wrapper_innodb_test_suite_dir}" + mkdir -p "${mroonga_wrapper_innodb_include_dir}" cp -rp "${build_test_include_dir}"/innodb[-_]*.inc \ - "${mroonga_wrapper_innodb_test_suite_dir}/include/" + "${mroonga_wrapper_innodb_include_dir}" ruby -i'' \ -pe "\$_.gsub!(/\\bengine\\s*=\\s*innodb\\b([^;\\n]*)/i, \"ENGINE=mroonga\\\1 COMMENT='ENGINE \\\"InnoDB\\\"'\")