Navigation Menu

Skip to content

Commit

Permalink
cmake: support test suite path for bundled case
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 13, 2013
1 parent 2c07d30 commit cb30646
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Expand Up @@ -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(
Expand Down

0 comments on commit cb30646

Please sign in to comment.