Navigation Menu

Skip to content

Commit

Permalink
test: improve MariaDB detection
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 16, 2012
1 parent 215bbcb commit c81f095
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions test/run-sql-test.sh
Expand Up @@ -22,19 +22,20 @@ case "${MYSQL_VERSION}" in
mkdir -p "${build_test_suites_dir}"
fi
;;
*-MariaDB*)
*)
if ! test -d "${build_test_suites_dir}"; then
ln -s "${source_test_suites_dir}" "${build_test_suites_dir}"
fi
if ! test -d "${MYSQL_BUILD_DIR}/plugin/mroonga"; then
ln -s "${top_dir}" "${MYSQL_BUILD_DIR}/plugin/mroonga"
fi
;;
*)
if ! test -d "${build_test_suites_dir}"; then
ln -s "${source_test_suites_dir}" "${build_test_suites_dir}"
fi
plugins_dir="${MYSQL_SOURCE_DIR}/lib/plugin"
if ! test -d "${plugins_dir}"; then
if ! test -d "${MYSQL_BUILD_DIR}/plugin/mroonga"; then
ln -s "${top_dir}" "${MYSQL_BUILD_DIR}/plugin/mroonga"
fi
plugins_dir=
fi
;;
esac

Expand Down

0 comments on commit c81f095

Please sign in to comment.