Bug #23865 mysql-test-run.pl on Windows only supports debug and release configurations
Submitted: 1 Nov 2006 22:56 Modified: 6 Nov 2006 14:51
Reporter: Iggy Galarza Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Tests Severity:S3 (Non-critical)
Version:5.0bk OS:
Assigned to: Iggy Galarza CPU Architecture:Any

[1 Nov 2006 22:56] Iggy Galarza
Description:
If MySql is built on a Windows machine with a configuration other than release or debug, the mysql-test-run.pl script does not work with resulting executables because they are not created in a path search by mysql-test-run.

How to repeat:
1. Use CMAKE to generate VS Solution.
2. Open MySql.sln and select the RelWithDebInfo configuration.
3. Build the source successfully.
4. Attempt to run the mysql-test-run.pl utility.

Suggested fix:
mysql-test-run should read an environment variable to determine which path to search for executables.  A command line swith is a good choice because it must be supplied each iterration of the script.
[2 Nov 2006 20:03] 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/14765

ChangeSet@1.2611, 2006-11-02 15:05:20-05:00, iggy@rolltop.ignatz42.dyndns.org +2 -0
  Bug#23865 mysql-test-run.pl on Windows only supports debug and release configurations
  
  Visual Studio builds each configuration in a different sub-directory.  Only the sub-
  directories for release and debug are currently searched.
[6 Nov 2006 14:51] Paul Dubois
Test suite change. No changelog entry needed.