From e1d285d1e019ac8920beb7a1a1f7e7e4c4046af7 Mon Sep 17 00:00:00 2001 From: Alexey Botchkov Date: Thu, 19 Aug 2010 17:11:31 +0500 Subject: [PATCH] Bug#54129 Missing the execute bit for scripts files for cmake had some minor bugs causing this. per-file comments: mysql-test/CMakeLists.txt Bug#54129 Missing the execute bit for scripts use same permissions as in the source folder mysql-test/t/disabled.def Bug#54129 Missing the execute bit for scripts mysqlhotcopy tests enabled scripts/CMakeLists.txt Bug#54129 Missing the execute bit for scripts chmod +x for the script files --- mysql-test/CMakeLists.txt | 1 + mysql-test/t/disabled.def | 2 -- scripts/CMakeLists.txt | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mysql-test/CMakeLists.txt b/mysql-test/CMakeLists.txt index 6ba53bd9c2c..b8eb11b2fea 100644 --- a/mysql-test/CMakeLists.txt +++ b/mysql-test/CMakeLists.txt @@ -16,6 +16,7 @@ INSTALL( DIRECTORY . DESTINATION ${INSTALL_MYSQLTESTDIR} + USE_SOURCE_PERMISSIONS COMPONENT Test PATTERN "var/" EXCLUDE PATTERN "lib/My/SafeProcess" EXCLUDE diff --git a/mysql-test/t/disabled.def b/mysql-test/t/disabled.def index c80532a4295..8a1f91086d2 100644 --- a/mysql-test/t/disabled.def +++ b/mysql-test/t/disabled.def @@ -11,8 +11,6 @@ ############################################################################## kill : Bug#37780 2008-12-03 HHunger need some changes to be robust enough for pushbuild. lowercase_table3 : Bug#54845 2010-06-30 alik main.lowercase_table3 on Mac OSX -mysqlhotcopy_myisam : bug#54129 2010-06-04 Horst -mysqlhotcopy_archive : bug#54129 2010-06-04 Horst partition_innodb_plugin : Bug#53307 2010-04-30 VasilDimov valgrind warnings plugin : Bug#55966 2010-08-13 alik "plugin" tests fail in 5.5 plugin_load : Bug#55966 2010-08-13 alik "plugin" tests fail in 5.5 diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt index c7eafac2781..4fc5f3f9b0d 100644 --- a/scripts/CMakeLists.txt +++ b/scripts/CMakeLists.txt @@ -344,6 +344,7 @@ ELSE() MESSAGE(FATAL_ERROR "Can not find ${file}.sh or ${file} in " "${CMAKE_CURRENT_SOURCE_DIR}" ) ENDIF() + EXECUTE_PROCESS(COMMAND chmod +x ${CMAKE_CURRENT_BINARY_DIR}/${file}) IF(NOT ${file}_COMPONENT) SET(${file}_COMPONENT Server) ENDIF()