[MDEV-3649] LP:509922 - Test runner doesn't honor --vs-config option when searching for mysqld Created: 2010-01-20  Updated: 2020-09-08  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Alex Budovski (Inactive) Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug509922.xml    

 Description   

I added some instrumenting code. When it looks for DLLs, it does the right thing (uses sub vs_config_dir), but 'sub find_mysqld' ignores vs-config completely, and finds the first available one! In this case, I asked for the debug configuration, but it found the first available one which was RelWithDebInfo.

Apart from being incorrect, this can also cause crashes due to inconsistency created between modules.

D:\dev\bzr\mysql-server\maria\mysql-test>mysql-test-run.pl --vs-config=debug --do-test=maria
Logging: D:\dev\bzr\mysql-server\maria\mysql-test\mysql-test-run.pl --vs-config=debug --do-test=maria
== D:/dev/bzr/mysql-server/maria/client/debug/ ==
MySQL Version 5.1.42
Checking supported features...

  • SSL connections supported
    == D:/dev/bzr/mysql-server/maria/storage/example/debug/ha_example.dll ==
    Collecting tests...
    vardir: D:/dev/bzr/mysql-server/maria/mysql-test/var
    Checking leftover processes...
    Removing old var directory...
    Creating var directory 'D:/dev/bzr/mysql-server/maria/mysql-test/var'...
    Installing system database...
    Using server port 1606

==============================================================================

TEST RESULT TIME (ms)
------------------------------------------------------------

Found the wrong one!!! D:/dev/bzr/mysql-server/maria/sql/relwithdebinfo/mysqld.exe <--- here.



 Comments   
Comment by Sergei Golubchik [ 2010-06-28 ]

Re: Test runner doesn't honor --vs-config option when searching for mysqld
will be in 5.1.48

Comment by Rasmus Johansson (Inactive) [ 2010-11-30 ]

Launchpad bug id: 509922

Generated at Thu Feb 08 06:50:10 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.