Bug #34995 mysql-test-run doesn't allow client lib/binary selection
Submitted: 3 Mar 2008 10:16 Modified: 13 Feb 2009 17:47
Reporter: MC Brown Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Tests Severity:S3 (Non-critical)
Version:All OS:Any
Assigned to: Magnus Blåudd CPU Architecture:Any
Triage: D5 (Feature request)

[3 Mar 2008 10:16] MC Brown
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: 


To specify the explicit location of the client binaries and library directories during mtr execution. These should override any 'implied' setting.
[3 Mar 2008 10:24] Miguel Solorzano
Thank you for the bug report.
[3 Mar 2008 11: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:


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 11:53] Magnus Blåudd
The patch would do the trick and allow to use installed binaries and or libs from specific directories.
[28 Jul 2008 13: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 16: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 17: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 2009 8:16] Magnus Blåudd
Fells like this must be in 6.0 now
[13 Feb 2009 17:47] Paul Dubois
Noted in 6.0.10 changelog.