From 2f7a1564bbb6e202df665ceecf4e7b2c04bba25d Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Wed, 1 Dec 2010 23:28:47 +0100 Subject: [PATCH] Adapt fix_vs_config_dir () for VS2010 MTR_VS_CONFIG is now determined by looking at parent directory of sql\*\mysqld.exe, instead of looking at *\*\BuildLog.htm Reason : VS2010 does not create BuildLog.htm, hence prior method did not work. --- mysql-test/mysql-test-run.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index e2f143b7697..e3131ea6789 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -2516,9 +2516,8 @@ sub fix_vs_config_dir () { my $modified = 1e30; $opt_vs_config=""; - for my $dir (qw(client/*.dir libmysql/libmysql.dir sql/mysqld.dir - sql/udf_example.dir storage/*/*.dir plugin/*/*.dir)) { - for (<$basedir/$dir/*/BuildLog.htm>) { + for my $dir (qw(sql/*)) { + for (<$basedir/$dir/mysqld.exe>) { if (-M $_ < $modified) { $modified = -M _;