- Adding cmake code to install ConnectSE mtr tests

- Including "connect" suite into the list of the default suites
This commit is contained in:
Alexander Barkov 2013-10-31 11:53:00 +04:00
parent 671e5cbb7f
commit f1325549e9
2 changed files with 14 additions and 1 deletions

View File

@ -166,6 +166,7 @@ my $DEFAULT_SUITES= join(',', map { "$_-" } qw(
main main
archive archive
binlog binlog
connect
csv csv
federated federated
funcs_1 funcs_1
@ -379,7 +380,6 @@ sub main {
mtr_report("Logging: $0 ", join(" ", @ARGV)); mtr_report("Logging: $0 ", join(" ", @ARGV));
$DEFAULT_SUITES.= ',' . join(',', qw( $DEFAULT_SUITES.= ',' . join(',', qw(
connect
query_response_time query_response_time
sequence sequence
spider spider

View File

@ -264,6 +264,19 @@ int main() {
ENDIF(UNIX) ENDIF(UNIX)
ENDIF(CONNECT_WITH_ODBC) ENDIF(CONNECT_WITH_ODBC)
#
# Installing tests
#
IF(INSTALL_MYSQLTESTDIR)
INSTALL(
DIRECTORY mysql-test/connect
DESTINATION ${INSTALL_MYSQLTESTDIR}/suite
USE_SOURCE_PERMISSIONS
COMPONENT Test
PATTERN "*~" EXCLUDE
)
ENDIF()
# #
# Plugin definition # Plugin definition