Bug #56370 Please add cmake option to suppress mysql-test, sql-bench installation
Submitted: 30 Aug 2010 14:22 Modified: 7 Dec 2016 14:09
Reporter: Paul DuBois Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Installing Severity:S4 (Feature request)
Version:5.5+ OS:Any
Assigned to: CPU Architecture:Any

[30 Aug 2010 14:22] Paul DuBois
Description:
Please add a cmake option (or separate options) to suppress installation of the files in the mysql-test and sql-bench directories.

Rationale: Installing these files takes up a lot of space on systems with multiple MySQL installations. For people such as myself that run tests only in the source tree after building the distribution, that adds up to a lot of wasted space.

How to repeat:
See above.
[30 Aug 2010 14:32] Valeriy Kravchuk
Thank you for the feature request.
[7 Dec 2016 14:09] Terje Røsten
Posted by developer:
 
SQL bench has been removed. 

Test file issue resolved by:

commit 31cf17ab368a4cac8c76a6d347ff7407831bf34d
Author: Tor Didriksen <tor.didriksen@oracle.com>
Date:   Tue Apr 2 11:14:39 2013 +0200

    Bug#11765629 CMAKE: CAN SUPPRESS INSTALLATION OF SQL-BENCH, BUT NOT MYSQL-TEST
    
    Don't try to install anything into INSTALL_MYSQLTESTDIR
    if it is explicitly set empty on the cmake command line.