[Groonga-mysql-commit] mroonga/mroonga [master] test cmake: support

Back to archive index

null+****@clear***** null+****@clear*****
2012年 3月 20日 (火) 16:54:02 JST


Kouhei Sutou	2012-03-20 16:54:02 +0900 (Tue, 20 Mar 2012)

  New Revision: 201a368721617981696cd751aaa8c352314b901b

  Log:
    test cmake: support

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

  Modified: test/run-sql-test.sh (+8 -4)
===================================================================
--- test/run-sql-test.sh    2012-03-20 16:53:43 +0900 (4d075b6)
+++ test/run-sql-test.sh    2012-03-20 16:54:02 +0900 (cee66a6)
@@ -98,10 +98,14 @@ if ! test -d "${mroonga_wrapper_innodb_test_suite_dir}"; then
 fi
 
 if test -n "${plugins_dir}"; then
-    make -C ${top_dir} \
-	install-pluginLTLIBRARIES \
-	plugindir=${plugins_dir} > /dev/null || \
-	exit 1
+    if test -d "${top_dir}/.libs"; then
+	make -C ${top_dir} \
+	    install-pluginLTLIBRARIES \
+	    plugindir=${plugins_dir} > /dev/null || \
+	    exit 1
+    else
+	cp "${top_dir}/ha_mroonga.so" "${plugins_dir}" || exit 1
+    fi
 fi
 
 (cd "$build_mysql_test_dir" && \




Groonga-mysql-commit メーリングリストの案内
Back to archive index