Commit 711b2406 authored by Tor Didriksen's avatar Tor Didriksen

Bug#14737559 BZR JOIN PLUGIN TREES INTO INTERNAL/PLUGIN

Part three:
Fix some search paths.
parent 00a87f08
......@@ -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
......
......@@ -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()
......
......@@ -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;
......
......@@ -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($_);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment