[Groonga-mysql-commit] mroonga/mroonga at cb30646 [master] cmake: support test suite path for bundled case

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Jun 13 16:40:47 JST 2013


Kouhei Sutou	2013-06-13 16:40:47 +0900 (Thu, 13 Jun 2013)

  New Revision: cb306469d2b37e4730bea4339d865738aaf69583
  https://github.com/mroonga/mroonga/commit/cb306469d2b37e4730bea4339d865738aaf69583

  Message:
    cmake: support test suite path for bundled case

  Modified files:
    CMakeLists.txt

  Modified: CMakeLists.txt (+5 -1)
===================================================================
--- CMakeLists.txt    2013-06-12 18:51:27 +0900 (529a8fb)
+++ CMakeLists.txt    2013-06-13 16:40:47 +0900 (123f48c)
@@ -254,9 +254,13 @@ configure_file(
   "${PROJECT_SOURCE_DIR}/config.sh.in"
   "${PROJECT_BINARY_DIR}/config.sh")
 
+set(MRN_TEST_SUITE_DIR "${CMAKE_SOURCE_DIR}/mysql-test/suite/mroonga")
+if(NOT EXISTS "${MRN_TEST_SUITE_DIR}")
+  set(MRN_TEST_SUITE_DIR "${PROJECT_SOURCE_DIR}/test/sql/suite/mroonga")
+endif()
 configure_file(
   "${PROJECT_SOURCE_DIR}/test/sql/suite/mroonga/storage/information_schema/r/plugins.result.in"
-  "${PROJECT_SOURCE_DIR}/test/sql/suite/mroonga/storage/information_schema/r/plugins.result"
+  "${MRN_TEST_SUITE_DIR}/storage/information_schema/r/plugins.result"
   NEWLINE_STYLE LF)
 
 configure_file(
-------------- next part --------------
HTML����������������������������...
下载 



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