diff options
author | John H. Embretsen <john.embretsen@oracle.com> | 2011-01-29 12:38:36 +0100 |
---|---|---|
committer | John H. Embretsen <john.embretsen@oracle.com> | 2011-01-29 12:38:36 +0100 |
commit | 26528be7112fadd5f23994f96174d3c45bd741b5 (patch) | |
tree | 56d651e7859dda13fef1541a41d00a960225d582 /mysql-test/t/disabled.def | |
parent | d83706bc74a5a53e9f4472e6846a73aa0d1df2d1 (diff) | |
download | mariadb-git-26528be7112fadd5f23994f96174d3c45bd741b5.tar.gz |
Fix for Bug#56817 - mysqlhotcopy tests fail when DBI and DBD-mysql perl modules are not found
Third updated patch - this version also includes copyright notice in added Perl script.
This patch implements a check for such modules at runtime. If modules are not found or unable to load, the test is skipped with
the following message:
[ skipped ] Test needs Perl modules DBI and DBD::mysql
Checks are done via a helper Perl script which looks for the module in a runtime environment that is as similar to that of the
mysqlhotcopy script as possible (thus not intended for Windows environments at this time).
The helper script tells mysql-test about the result by writing information to a temporary file that is later read by mysql-test.
See comments in added files (have_dbi_dbd-mysql.inc and checkDBI_DBD-mysql.pl) for details.
The patch also removes the mysqlhotcopy tests from the list of disabled tests.
Diffstat (limited to 'mysql-test/t/disabled.def')
-rw-r--r-- | mysql-test/t/disabled.def | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mysql-test/t/disabled.def b/mysql-test/t/disabled.def index 4510652b03f..c244d08e308 100644 --- a/mysql-test/t/disabled.def +++ b/mysql-test/t/disabled.def @@ -11,7 +11,5 @@ ############################################################################## kill : Bug#37780 2008-12-03 HHunger need some changes to be robust enough for pushbuild. query_cache_28249 : Bug#43861 2009-03-25 main.query_cache_28249 fails sporadically -main.mysqlhotcopy_myisam : Bug#56817 2010-10-21 anitha mysqlhotcopy* fails -main.mysqlhotcopy_archive: Bug#56817 2010-10-21 anitha mysqlhotcopy* fails log_tables-big : Bug#48646 2010-11-15 mattiasj report already exists read_many_rows_innodb : Bug#37635 2010-11-15 mattiasj report already exists |