Bug #34995 mysql-test-run doesn't allow client lib/binary selection
Submitted: 3 Mar 2008 11:16 Modified: 13 Feb 18:47
Reporter: MC Brown
Status: Closed
Category:Server: Tests Severity:S3 (Non-critical)
Version:All OS:Any
Assigned to: Magnus Blaudd Target Version:5.0+
Triage: D5 (Feature request)

[3 Mar 2008 11:16] MC Brown
Description:
When running mysql-test-run, you cannot specify the location of the binaries or the
libraries that are selected for the test. 

This means that you cannot (easily) test with different versions of client and mysqld
tools, or select for 32-bit or 64-bit binaries/libraries during testing. 

How to repeat:
Run mysql-test-run.

The client binaries and client libraries are loaded from basedir/bin and basedir/lib

basedir is identified as the parent of mtr

Suggested fix:
It would be nice to have two additional options: 

--client-bin-dir
--client-lib-dir

To specify the explicit location of the client binaries and library directories during mtr
execution. These should override any 'implied' setting.
[3 Mar 2008 11:24] Miguel Solorzano
Thank you for the bug report.
[3 Mar 2008 12:46] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/43310

ChangeSet@1.2580, 2008-03-03 12:47:05+01:00, msvensson@pilot.mysql.com +1 -0
  Bug#34995 mysql-test-run doesn't allow client lib/binary selection
[3 Mar 2008 12:53] Magnus Blaudd
The patch would do the trick and allow to use installed binaries and or libs from specific
directories.
[28 Jul 2008 15:48] Bugs System
Pushed into 5.0.66  (revid:kgeorge@mysql.com-20080617084217-1u9yw41mpntg7hqk) (pib:2)
(Retry automatic marking, to ensure nothing is missed. cm01)
[28 Jul 2008 18:49] Bugs System
Pushed into 5.1.27  (revid:joerg@mysql.com-20080626161101-h5hsaluwtf05xdr2) (version
source revid:joerg@mysql.com-20080626161101-h5hsaluwtf05xdr2) (pib:3)
[8 Sep 2008 19:05] Paul DuBois
Noted in 5.0.66, 5.1.27 changelogs

mysql-test-run.pl now supports --client-bindir and --client-libdir
options for specifying the directory where client binaries and
libraries are located.

Setting report to NDI pending push into 6.0.x.
[13 Feb 9:16] Magnus Blaudd
Fells like this must be in 6.0 now
[13 Feb 18:47] Paul DuBois
Noted in 6.0.10 changelog.