Skip to content

Commit

Permalink
dev-db/mysql: disable more tests
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann <[email protected]>
  • Loading branch information
Whissi committed May 4, 2020
1 parent b54f265 commit 20c11fe
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dev-db/mysql/mysql-5.7.30.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -542,10 +542,16 @@ src_test() {
gis.spatial_utility_function_distance_sphere \
gis.spatial_utility_function_simplify \
gis.spatial_analysis_functions_centroid \
main.with_recursive \
; do
_disable_test "$t" "Known rounding error with latest AMD processors"
done

if ! hash zip 1>/dev/null 2>&1 ; then
# no need to force dep app-arch/zip for one test
_disable_test "innodb.partition_upgrade_create" "Requires app-arch/zip"
fi

if use numa && use kernel_linux ; then
# bug 584880
if ! linux_config_exists || ! linux_chkconfig_present NUMA ; then
Expand Down
6 changes: 6 additions & 0 deletions dev-db/mysql/mysql-8.0.20.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ src_test() {
disabled_tests+=( "gis.spatial_analysis_functions_distance;5452;Known rounding error with latest AMD processors (PS)" )
disabled_tests+=( "main.window_std_var;0;Known rounding error with latest AMD processors -- no upstream bug yet" )
disabled_tests+=( "main.window_std_var_optimized;0;Known rounding error with latest AMD processors -- no upstream bug yet" )
disabled_tests+=( "main.with_recursive;0;Known rounding error with latest AMD processors -- no upstream bug yet" )
disabled_tests+=( "rpl_gtid.rpl_gtid_stm_drop_table;90612;Known test failure" )
disabled_tests+=( "rpl_gtid.rpl_multi_source_mtr_includes;0;Known failure - no upstream bug yet" )
disabled_tests+=( "sys_vars.myisam_data_pointer_size_func;87935;Test will fail on slow hardware")
Expand All @@ -396,6 +397,11 @@ src_test() {
disabled_tests+=( "x.message_compressed_payload;0;False positive caused by protobuff-3.11+" )
disabled_tests+=( "x.message_protobuf_nested;0;False positive caused by protobuff-3.11+" )

if ! hash zip 1>/dev/null 2>&1 ; then
# no need to force dep app-arch/zip for one test
disabled_tests+=( "innodb.partition_upgrade_create;0;Requires app-arch/zip" )
fi

local test_infos_str test_infos_arr
for test_infos_str in "${disabled_tests[@]}" ; do
IFS=';' read -r -a test_infos_arr <<< "${test_infos_str}"
Expand Down

0 comments on commit 20c11fe

Please sign in to comment.