summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmake/install_layout.cmake5
-rw-r--r--cmake/plugin.cmake1
-rw-r--r--mysql-test/lib/mtr_cases.pm1
-rwxr-xr-xmysql-test/mysql-test-run.pl1
4 files changed, 7 insertions, 1 deletions
diff --git a/cmake/install_layout.cmake b/cmake/install_layout.cmake
index 036164d868b..18c7afd8037 100644
--- a/cmake/install_layout.cmake
+++ b/cmake/install_layout.cmake
@@ -104,7 +104,10 @@ ENDIF()
# just use if(INSTALL_PLUGINTESTDIR).
# The plugin must set its own install path for tests
#
-FILE(GLOB plugin_tests ${CMAKE_SOURCE_DIR}/plugin/*/tests)
+FILE(GLOB plugin_tests
+ ${CMAKE_SOURCE_DIR}/plugin/*/tests
+ ${CMAKE_SOURCE_DIR}/internal/plugin/*/tests
+)
#
# STANDALONE layout
diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake
index e3e3c584d47..9736887bb7e 100644
--- a/cmake/plugin.cmake
+++ b/cmake/plugin.cmake
@@ -39,6 +39,7 @@ MACRO(PLUGIN_APPEND_COLLECTIONS plugin)
GET_FILENAME_COMPONENT(fname ${cfile} NAME)
FILE(APPEND ${CMAKE_SOURCE_DIR}/mysql-test/collections/${fname} "${contents}")
FILE(APPEND ${fcopied} "${fname}\n")
+ MESSAGE(STATUS "Appended ${cfile}")
ENDFOREACH()
ENDIF()
ENDMACRO()
diff --git a/mysql-test/lib/mtr_cases.pm b/mysql-test/lib/mtr_cases.pm
index 2f68b70e3e2..af059af7121 100644
--- a/mysql-test/lib/mtr_cases.pm
+++ b/mysql-test/lib/mtr_cases.pm
@@ -295,6 +295,7 @@ sub collect_one_suite($)
"storage/*/mtr",
# Look in plugin specific suite dir
"plugin/$suite/tests",
+ "internal/plugin/$suite/tests",
],
[$suite, "mtr"], ($suite =~ /^i_/));
return unless $suitedir;
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index 927a2ebfa91..a9add9be394 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -459,6 +459,7 @@ sub main {
# Also read from any plugin local or suite specific plugin.defs
for (glob "$basedir/plugin/*/tests/mtr/plugin.defs".
+ " $basedir/internal/plugin/*/tests/mtr/plugin.defs".
" suite/*/plugin.defs") {
read_plugin_defs($_);
}