commit:     7f9e0c126112c4245aef8ae0eeb639d58dd39660
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 17 12:56:43 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Aug 17 13:45:22 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f9e0c12

dev-db/mysql: update disabled tests list

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-db/mysql/mysql-5.6.44-r1.ebuild | 36 ++++++++++++++++++++++++++++++++++--
 dev-db/mysql/mysql-5.6.45-r1.ebuild | 36 ++++++++++++++++++++++++++++++++++--
 dev-db/mysql/mysql-5.7.26.ebuild    | 28 +++++++++++++++++++++-------
 dev-db/mysql/mysql-5.7.27.ebuild    | 28 +++++++++++++++++++++-------
 4 files changed, 110 insertions(+), 18 deletions(-)

diff --git a/dev-db/mysql/mysql-5.6.44-r1.ebuild 
b/dev-db/mysql/mysql-5.6.44-r1.ebuild
index c870688eb8e..c9f4057f701 100644
--- a/dev-db/mysql/mysql-5.6.44-r1.ebuild
+++ b/dev-db/mysql/mysql-5.6.44-r1.ebuild
@@ -481,8 +481,40 @@ src_test() {
                        _disable_test  "$t" "False positives in Gentoo"
        done
 
-       # Bad test definition
-       _disable_test main.mysqldump "Test fails after 2018-12-31 with new 
warnings"
+       if ! use latin1 ; then
+               for t in \
+                       binlog.binlog_mysqlbinlog_filter \
+                       binlog.binlog_statement_insert_delayed \
+                       funcs_1.is_columns_mysql \
+                       funcs_1.is_tables_mysql \
+                       funcs_1.is_triggers \
+                       main.information_schema \
+                       main.mysql_client_test \
+                       main.mysqld--help-notwin \
+                       perfschema.binlog_edge_mix \
+                       perfschema.binlog_edge_stmt \
+               ; do
+                       _disable_test  "$t" "Requires DEFAULT_CHARSET=latin1 
but USE=-latin1 is set"
+               done
+       fi
+
+       if has_version '>=dev-libs/openssl-1.1.0' ; then
+               # Tests are expecting <openssl-1.1 default cipher
+               for t in \
+                       main.ssl_8k_key \
+                       main.ssl-sha512 \
+                       main.ssl_crl \
+                       main.ssl_ca \
+                       main.ssl \
+                       main.ssl_compress \
+                       main.plugin_auth_sha256_tls \
+                       main.openssl_1 \
+               ; do
+                       _disable_test  "$t" "Requires <dev-libs/openssl-1.1.0"
+               done
+       fi
+
+       _disable_test main.gis-precise "Known rounding error with latest AMD 
processors"
 
        # run mysql-test tests
        perl mysql-test-run.pl --force --vardir="${T}/var-tests" --reorder 
--skip-test=tokudb --skip-test-list="${T}/disabled.def"

diff --git a/dev-db/mysql/mysql-5.6.45-r1.ebuild 
b/dev-db/mysql/mysql-5.6.45-r1.ebuild
index cda536ad33f..138b0cab850 100644
--- a/dev-db/mysql/mysql-5.6.45-r1.ebuild
+++ b/dev-db/mysql/mysql-5.6.45-r1.ebuild
@@ -486,8 +486,40 @@ src_test() {
                        _disable_test  "$t" "False positives in Gentoo"
        done
 
-       # Bad test definition
-       _disable_test main.mysqldump "Test fails after 2018-12-31 with new 
warnings"
+       if ! use latin1 ; then
+               for t in \
+                       binlog.binlog_mysqlbinlog_filter \
+                       binlog.binlog_statement_insert_delayed \
+                       funcs_1.is_columns_mysql \
+                       funcs_1.is_tables_mysql \
+                       funcs_1.is_triggers \
+                       main.information_schema \
+                       main.mysql_client_test \
+                       main.mysqld--help-notwin \
+                       perfschema.binlog_edge_mix \
+                       perfschema.binlog_edge_stmt \
+               ; do
+                       _disable_test  "$t" "Requires DEFAULT_CHARSET=latin1 
but USE=-latin1 is set"
+               done
+       fi
+
+       if has_version '>=dev-libs/openssl-1.1.0' ; then
+               # Tests are expecting <openssl-1.1 default cipher
+               for t in \
+                       main.ssl_8k_key \
+                       main.ssl-sha512 \
+                       main.ssl_crl \
+                       main.ssl_ca \
+                       main.ssl \
+                       main.ssl_compress \
+                       main.plugin_auth_sha256_tls \
+                       main.openssl_1 \
+               ; do
+                       _disable_test  "$t" "Requires <dev-libs/openssl-1.1.0"
+               done
+       fi
+
+       _disable_test main.gis-precise "Known rounding error with latest AMD 
processors"
 
        # run mysql-test tests
        perl mysql-test-run.pl --force --vardir="${T}/var-tests" --reorder 
--skip-test=tokudb --skip-test-list="${T}/disabled.def"

diff --git a/dev-db/mysql/mysql-5.7.26.ebuild b/dev-db/mysql/mysql-5.7.26.ebuild
index a956940eb6f..e7e64676eac 100644
--- a/dev-db/mysql/mysql-5.7.26.ebuild
+++ b/dev-db/mysql/mysql-5.7.26.ebuild
@@ -546,15 +546,29 @@ src_test() {
 
        # Unstable tests
        # - main.xa_prepared_binlog_off: https://bugs.mysql.com/bug.php?id=83340
+       # - rpl.rpl_innodb_info_tbl_slave_tmp_tbl_mismatch: 
https://bugs.mysql.com/bug.php?id=89223
        # - rpl.rpl_non_direct_stm_mixing_engines: MDEV-14489
-       for t in main.xa_prepared_binlog_off 
rpl.rpl_non_direct_stm_mixing_engines ; do
-                       _disable_test "$t" "Unstable test"
+       for t in \
+               main.xa_prepared_binlog_off \
+               rpl.rpl_innodb_info_tbl_slave_tmp_tbl_mismatch \
+               rpl.rpl_non_direct_stm_mixing_engines \
+       ; do
+               _disable_test "$t" "Unstable test"
        done
 
-       if ! use amd64 ; then
-               # fixed in >=mysql-8 via commit 0a417e84
-               _disable_test "gis.gis_bugs_crashes" "Unstable results on 
non-amd64 architectures due to floating-point operation"
-       fi
+       for t in \
+               gis.geometry_class_attri_prop \
+               gis.geometry_property_function_issimple \
+               gis.gis_bugs_crashes \
+               gis.spatial_op_testingfunc_mix \
+               gis.spatial_analysis_functions_buffer \
+               gis.spatial_analysis_functions_distance \
+               gis.spatial_utility_function_distance_sphere \
+               gis.spatial_utility_function_simplify \
+               gis.spatial_analysis_functions_centroid \
+       ; do
+               _disable_test "$t" "Known rounding error with latest AMD 
processors"
+       done
 
        if use numa && use kernel_linux ; then
                # bug 584880
@@ -587,7 +601,7 @@ src_test() {
                        rpl.rpl_xa_survive_disconnect_lsu_off \
                        rpl.rpl_xa_survive_disconnect_table \
                ; do
-                               _disable_test "$t" "requires 
DEFAULT_CHARSET=latin1 but USE=-latin1 is set"
+                       _disable_test "$t" "Requires DEFAULT_CHARSET=latin1 but 
USE=-latin1 is set"
                done
        fi
 

diff --git a/dev-db/mysql/mysql-5.7.27.ebuild b/dev-db/mysql/mysql-5.7.27.ebuild
index 05cb0dc5f93..af33f7a4a31 100644
--- a/dev-db/mysql/mysql-5.7.27.ebuild
+++ b/dev-db/mysql/mysql-5.7.27.ebuild
@@ -553,15 +553,29 @@ src_test() {
 
        # Unstable tests
        # - main.xa_prepared_binlog_off: https://bugs.mysql.com/bug.php?id=83340
+       # - rpl.rpl_innodb_info_tbl_slave_tmp_tbl_mismatch: 
https://bugs.mysql.com/bug.php?id=89223
        # - rpl.rpl_non_direct_stm_mixing_engines: MDEV-14489
-       for t in main.xa_prepared_binlog_off 
rpl.rpl_non_direct_stm_mixing_engines ; do
-                       _disable_test "$t" "Unstable test"
+       for t in \
+               main.xa_prepared_binlog_off \
+               rpl.rpl_innodb_info_tbl_slave_tmp_tbl_mismatch \
+               rpl.rpl_non_direct_stm_mixing_engines \
+       ; do
+               _disable_test "$t" "Unstable test"
        done
 
-       if ! use amd64 ; then
-               # fixed in >=mysql-8 via commit 0a417e84
-               _disable_test "gis.gis_bugs_crashes" "Unstable results on 
non-amd64 architectures due to floating-point operation"
-       fi
+       for t in \
+               gis.geometry_class_attri_prop \
+               gis.geometry_property_function_issimple \
+               gis.gis_bugs_crashes \
+               gis.spatial_op_testingfunc_mix \
+               gis.spatial_analysis_functions_buffer \
+               gis.spatial_analysis_functions_distance \
+               gis.spatial_utility_function_distance_sphere \
+               gis.spatial_utility_function_simplify \
+               gis.spatial_analysis_functions_centroid \
+       ; do
+               _disable_test "$t" "Known rounding error with latest AMD 
processors"
+       done
 
        if use numa && use kernel_linux ; then
                # bug 584880
@@ -594,7 +608,7 @@ src_test() {
                        rpl.rpl_xa_survive_disconnect_lsu_off \
                        rpl.rpl_xa_survive_disconnect_table \
                ; do
-                               _disable_test "$t" "requires 
DEFAULT_CHARSET=latin1 but USE=-latin1 is set"
+                       _disable_test "$t" "Requires DEFAULT_CHARSET=latin1 but 
USE=-latin1 is set"
                done
        fi
 

Reply via email to