[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] test cmake: support

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 4 10:39:31 JST 2012


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

  New Revision: 201a368721617981696cd751aaa8c352314b901b
  https://github.com/mroonga/mroonga/commit/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" && \
-------------- next part --------------
HTML����������������������������...
Download 



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