[Groonga-mysql-commit] mroonga/mariadb-sync at 93b8633 [master] Use tests in storage/mroonga/mysql-test/

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Oct 22 18:24:20 JST 2013


Kouhei Sutou	2013-10-22 18:24:20 +0900 (Tue, 22 Oct 2013)

  New Revision: 93b863362cc5591fd48289ed114bd5dcf0164a68
  https://github.com/mroonga/mariadb-sync/commit/93b863362cc5591fd48289ed114bd5dcf0164a68

  Message:
    Use tests in storage/mroonga/mysql-test/

  Modified files:
    sync.sh

  Modified: sync.sh (+7 -4)
===================================================================
--- sync.sh    2013-10-22 18:04:42 +0900 (08aee26)
+++ sync.sh    2013-10-22 18:24:20 +0900 (4719d1d)
@@ -134,11 +134,13 @@ build()
 
 run_test()
 {
-    cd "${mroonga_branch_dir}/mysql-test"
-
     all_test_suite_names=""
-    cd "suite"
-    for test_suite_name in $(find mroonga -type d '!' -name '[tr]'); do
+    cd "${bundled_mroonga_dir}/mysql-test"
+    for test_suite_name in \
+	    $(find mroonga -type d -name 'include' '!' -prune -o \
+			   -type d '!' -name 'mroonga' \
+				   '!' -name 'include' \
+				   '!' -name '[tr]'); do
 	if [ -n "${all_test_suite_names}" ]; then
 	    all_test_suite_names="${all_test_suite_names},"
 	fi
@@ -148,6 +150,7 @@ run_test()
 
     export GRN_PLUGINS_DIR="${bundled_groonga_normalizer_mysql_dir}"
 
+    cd "${mroonga_branch_dir}/mysql-test"
     ./mysql-test-run \
 	--valgrind \
 	--valgrind-option=--show-reachable=yes \
-------------- next part --------------
HTML����������������������������...
下載 



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