mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
MDEV-35007 mroonga should modify source files during build
CMake rewriting the tests causes Mroonga to be un-buildable on build environments where there source directory is read only. In the test results, the version wasn't particularly important. Remove the version dependence of tests.
This commit is contained in:
parent
1cda4726ca
commit
3723fd1573
7 changed files with 7 additions and 16 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -307,8 +307,6 @@ storage/mroonga/vendor/groonga/src/grnslap
|
|||
storage/mroonga/vendor/groonga/src/groonga
|
||||
storage/mroonga/vendor/groonga/src/groonga-benchmark
|
||||
storage/mroonga/vendor/groonga/src/suggest/groonga-suggest-create-dataset
|
||||
storage/mroonga/mysql-test/mroonga/storage/r/information_schema_plugins.result
|
||||
storage/mroonga/mysql-test/mroonga/storage/r/variable_version.result
|
||||
zlib/zconf.h
|
||||
xxx/*
|
||||
yyy/*
|
||||
|
|
|
@ -431,14 +431,6 @@ 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}/mysql-test/mroonga")
|
||||
endif()
|
||||
configure_file(
|
||||
"${MRN_TEST_SUITE_DIR}/storage/r/information_schema_plugins.result.in"
|
||||
"${MRN_TEST_SUITE_DIR}/storage/r/information_schema_plugins.result"
|
||||
NEWLINE_STYLE LF)
|
||||
configure_file(
|
||||
"${MRN_TEST_SUITE_DIR}/storage/r/variable_version.result.in"
|
||||
"${MRN_TEST_SUITE_DIR}/storage/r/variable_version.result"
|
||||
NEWLINE_STYLE LF)
|
||||
|
||||
configure_file(
|
||||
"${PROJECT_SOURCE_DIR}/data/install.sql.in"
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
select PLUGIN_NAME, PLUGIN_TYPE
|
||||
from information_schema.plugins where plugin_name = "Mroonga";
|
||||
PLUGIN_NAME PLUGIN_TYPE
|
||||
Mroonga STORAGE ENGINE
|
|
@ -1,4 +0,0 @@
|
|||
select PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_TYPE
|
||||
from information_schema.plugins where plugin_name = "Mroonga";
|
||||
PLUGIN_NAME PLUGIN_VERSION PLUGIN_TYPE
|
||||
Mroonga @MRN_PLUGIN_VERSION@ STORAGE ENGINE
|
|
@ -1,3 +1,3 @@
|
|||
show variables like 'mroonga_version';
|
||||
Variable_name Value
|
||||
mroonga_version @MRN_VERSION@
|
||||
mroonga_version #
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
--source ../../include/mroonga/have_mroonga.inc
|
||||
|
||||
select PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_TYPE
|
||||
select PLUGIN_NAME, PLUGIN_TYPE
|
||||
from information_schema.plugins where plugin_name = "Mroonga";
|
||||
|
||||
--source ../../include/mroonga/have_mroonga_deinit.inc
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
--source ../../include/mroonga/have_mroonga.inc
|
||||
|
||||
# show variables like 'groonga%';
|
||||
--replace_column 2 #
|
||||
show variables like 'mroonga_version';
|
||||
|
||||
--source ../../include/mroonga/have_mroonga_deinit.inc
|
||||
|
|
Loading…
Reference in a new issue