[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] added test SQL script for "make check".

Back to archive index

Tetsuro IKEDA null+****@clear*****
Thu Oct 4 10:29:13 JST 2012


Tetsuro IKEDA	2010-03-17 15:04:19 +0900 (Wed, 17 Mar 2010)

  New Revision: 83f6112bf42b5ddcc33a2f7ccecf328e82c42ea3
  https://github.com/mroonga/mroonga/commit/83f6112bf42b5ddcc33a2f7ccecf328e82c42ea3

  Log:
    added test SQL script for "make check".

  Added files:
    test/run-sql-test.sh
  Modified files:
    test/Makefile.am

  Modified: test/Makefile.am (+1 -1)
===================================================================
--- test/Makefile.am    2010-03-17 15:03:31 +0900 (fe9e248)
+++ test/Makefile.am    2010-03-17 15:04:19 +0900 (3f1b901)
@@ -1,6 +1,6 @@
 SUBDIRS = unit
 
-TESTS = run-unit-test.sh
+TESTS = run-unit-test.sh run-sql-test.sh
 TESTS_ENVIRONMENT = CUTTER="$(CUTTER)"
 
 echo-cutter:

  Added: test/run-sql-test.sh (+13 -0) 100755
===================================================================
--- /dev/null
+++ test/run-sql-test.sh    2010-03-17 15:04:19 +0900 (fcc3b08)
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+if test -n "$MYSQL_HOME"; then
+    SQL_TESTS="$MYSQL_HOME/mysql-test/suite/mroonga"
+    if test -d "$SQL_TESTS"; then
+	cd $MYSQL_HOME/mysql-test
+	./mysql-test-run.pl --suite=mroonga --force
+    else
+	echo "$SQL_TESTS does not exists. Aborting SQL test."
+    fi
+else
+    echo '$MYSQL_HOME is not defined. Aborting SQL test.'
+fi
-------------- next part --------------
HTML����������������������������...
Download 



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