From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RRZ67-0000sW-Qa for garchives@archives.gentoo.org; Sat, 19 Nov 2011 00:48:00 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F25C421C076; Sat, 19 Nov 2011 00:47:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id A022321C076 for ; Sat, 19 Nov 2011 00:47:47 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F07EC1B4045 for ; Sat, 19 Nov 2011 00:47:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 6551B80042 for ; Sat, 19 Nov 2011 00:47:46 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: Subject: [gentoo-commits] proj/mysql:master commit in: dev-db/mysql/ X-VCS-Repository: proj/mysql X-VCS-Files: dev-db/mysql/ChangeLog dev-db/mysql/Manifest dev-db/mysql/mysql-5.1.60.ebuild X-VCS-Directories: dev-db/mysql/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: f2f1d834febae58a5aaa3feff2ad36fb79352743 Date: Sat, 19 Nov 2011 00:47:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: d314417a-730b-46d5-a323-9138342ea645 X-Archives-Hash: c3b61cf65f4e2ca2317b14b3d82d822c commit: f2f1d834febae58a5aaa3feff2ad36fb79352743 Author: Robin H. Johnson orbis-terrarum net> AuthorDate: Sat Nov 19 00:47:08 2011 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Sat Nov 19 00:47:08 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/mysql.git;a=3D= commit;h=3Df2f1d834 Version bump. (Portage version: 2.2.0_alpha74/git/Linux x86_64, unsigned Manifest commi= t) --- dev-db/mysql/ChangeLog | 5 + dev-db/mysql/Manifest | 25 +--- dev-db/mysql/mysql-5.1.60.ebuild | 261 ++++++++++++++++++++++++++++++++= ++++++ 3 files changed, 270 insertions(+), 21 deletions(-) diff --git a/dev-db/mysql/ChangeLog b/dev-db/mysql/ChangeLog index c2bf7c6..9053c76 100644 --- a/dev-db/mysql/ChangeLog +++ b/dev-db/mysql/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ =20 +*mysql-5.1.60 (19 Nov 2011) + + 19 Nov 2011; Robin H. Johnson +mysql-5.1.60.ebuil= d: + Version bump. + *mysql-5.5.17 (26 Oct 2011) =20 26 Oct 2011; Jorge Manuel B. S. Vicetto diff --git a/dev-db/mysql/Manifest b/dev-db/mysql/Manifest index a1a4326..19b1f34 100644 --- a/dev-db/mysql/Manifest +++ b/dev-db/mysql/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX my.cnf 1249 RMD160 680752c5c5f1e18e02f5c3286aaade406f271b95 SHA1 f55= 92c43e52d23902a23d4f824d4dddccd7cdd0c SHA256 29c07ce113496ec62bf9427609f2= 291861e3e165200d6e98a69bd312c6c101ec AUX my.cnf-4.0 4316 RMD160 e2a9f3f1a13b1aa13151dc5dbeba1dad888337e3 SHA1= 40d6f252fd103548bc422e86659ef644fbce1ac6 SHA256 f4616a38d7c1b5cc2bf6b4e5= b175ffcc12a52e38772dd86274a8991ef50015af AUX my.cnf-4.1 4235 RMD160 ca04e2e667322e99c29be59064c7a6ecaa4e1e4c SHA1= babc79984b2e2d3def93ac0c13cd2fc5c690212a SHA256 908a4883116e4f323510c468= fd22c5765f8a2adce0344859fc212b7209a3a6c7 @@ -9,6 +6,7 @@ AUX mysql.init 886 RMD160 26b8aa45af3f930db01f0db731865b9= 293626fb1 SHA1 d7d99a3f DIST mysql-5.0.92.tar.gz 22440590 RMD160 24a373a1b124acf39d0c0726e5cb6f4= 7dc1bef08 SHA1 10fffc7672a469af4a7fd980922b04d7ba0143ba SHA256 223530c4cd= 6d45e2906e6c7d33615c5824816dfdb772d104f4165a483ea78a55 DIST mysql-5.1.58.tar.gz 24333490 RMD160 199729c701c764cd22584c2b952230c= 07d0f31a6 SHA1 cfd70bee07ad99576eecde01785b7b2a74ec87ab SHA256 3c69562399= 655fc62d1424437e6ef59ef7c1ed225f940f81558f549b803f3fd7 DIST mysql-5.1.59.tar.gz 24325443 RMD160 bbc54a2fc0eb3657f297ac097e9374c= 98e90442e SHA1 1d425a421edc94fba616f1986a16bdc9d0b5c193 SHA256 f87b99b73c= 0d936ed892326ebd4c90b1d5c7d5d2ac8832fc62f538db99fb04f7 +DIST mysql-5.1.60.tar.gz 24408313 RMD160 7bbfce4fecc2a8e1ca081169e70c1a2= 98ab1b75a SHA1 26ae4d2f7e7066644eb343ab519cbef1626069c2 SHA256 2829fcb739= 3bac85925090b286b1f9c3cd3fbbf8e7f35796ef4131322509aa53 DIST mysql-5.5.10.tar.gz 23877968 RMD160 7f190513e38bbbcac21291e226de87b= 3b95a1ba4 SHA1 7e0b426d7a9ef0eaa6e2b2ea3e5fef1e1a078c5d SHA256 f4a0dae6d2= 626705ccede5126f2a3d45700195cb2568537c8b18bf1b604315a5 DIST mysql-5.5.12.tar.gz 23681636 RMD160 e36d6a29e4f92eecfbbdac47d9f0d9a= 427446da3 SHA1 8a4f4c2b762676140722d414d694cddd9c1e3397 SHA256 ed99dee589= 3f8502c909dfc4f55447f0ab9b7ae23fd6df53e31067d25f5088fc DIST mysql-5.5.14.tar.gz 23772997 RMD160 1c84fc3967691e9eedd1b90df780a9d= 738a709c4 SHA1 3b17e20be4e8bcc0f94392fb444f4a09f80de2e4 SHA256 c7acab9ccb= 1e2598d079fe8b832281343c00b5b8032fcece37ef551b61980738 @@ -18,11 +16,13 @@ DIST mysql-5.5.17.tar.gz 24213337 RMD160 6bf00da1df03= e869e3cc6c18cd03d5634838688 DIST mysql-5.6.2-m5.tar.gz 26137314 RMD160 e333a001e087b9fdf179c4e9f6a19= 27f2bd0fc6d SHA1 6b82c973b2c203909357e7100741b6030426fa67 SHA256 84b4f83b= 3eeff43fb9a282c03a252ee3ace1cea43ddebdfeb0ea940a687e427f DIST mysql-extras-20110713-0702Z.tar.bz2 1723462 RMD160 24127c9d9bd05325= 9fb1d9793b944d4447c21cae SHA1 4d03151f26af1ad522e1f0f0ed5eddebd665fc5c SH= A256 2b0e1ce0bf5a2bcb543e631f27bf1d6bcb15da0a966112dfe64b2591945cd605 DIST mysql-extras-20110721-0450Z.tar.bz2 1734716 RMD160 346bdcd46c5b3ec8= f839274c078fd6625f981de0 SHA1 d98382e15808b9c54a8d6563483a8ab3de59aa55 SH= A256 354c270c777b4c9b5afad1f5dcdcf400989273779fafa726c70d05277bb74a37 +DIST mysql-extras-20111118-2347Z.tar.bz2 1780751 RMD160 590ad649c6221d46= 1f96466d83a3c15b1a80a3a9 SHA1 495fd4f43364fd86aed746cfb6f870d35c9c4987 SH= A256 db380436ad13231245c02c2e36d4a1d5b3d27fa39c19e844507736a8ba69b6f5 DIST pbxt-1.0.11-6-pre-ga.tar.gz 3156307 RMD160 835c401b8503f1c1bef4b50f= 7a7815493f95acc1 SHA1 22eeffe0e38e0a0c2731a2c97fe00ce7d1ab2dfc SHA256 71f= f3d86e9e5691f3efe541bf31f55a7ec2a88af27df6ad853b65902e00e6d12 DIST percona-xtradb-1.0.6-10.tar.gz 1676716 RMD160 772947fe67725c55751f3= ec349711c05ba23c39b SHA1 07de0fd126e684aa045a8b941002f7634cd9a604 SHA256 = e3aa818f13cf669412e59ad194eae8eada7a857bf7a4260e4bb41cab4d7ae39c EBUILD mysql-5.0.92.ebuild 6584 RMD160 2bd8c049fca18eb04f3e641018824d714= 926ed65 SHA1 7a7d895df18909e8c5a2e293edd44ebe540ded29 SHA256 316ed800c11e= a60ddaa3339cdd4db28101e8b35551f7bee63c32c8f9c9b15947 EBUILD mysql-5.1.58-r1.ebuild 8718 RMD160 7f1869a8efa6e9b5e8691e529d2eac= 4e9f00b845 SHA1 1b98f9347b294fc5c2aee7d42914854c30a92c47 SHA256 0fc52351f= b7e2cfc0ff1c0e1d5ed854ad43a2da5468713f72b5659cbadd5eb12 EBUILD mysql-5.1.59.ebuild 8718 RMD160 1f30fee1c2d6c0830f9dd7a048a2755e5= 2f68283 SHA1 42a0225f0d0cf5d491335cd7bfce105a8bebefd7 SHA256 f312b2a0a575= 12c78a110e00d205f6548859d53e790b994257494f5f1a9e6951 +EBUILD mysql-5.1.60.ebuild 8718 RMD160 b93a58ca719553e9e644394a102f1db34= d277d22 SHA1 67ec0ef859b7671f1bfd023efecd3332d943e21d SHA256 878303790f45= 832461209587a16a249e86062485e81edb8bf1e8e2e082ac77ff EBUILD mysql-5.5.10.ebuild 3851 RMD160 be21bf4d77fd21dca965794d899c04f83= 607cfe7 SHA1 dcd690b860a3b6a8e06f8327af92c22cd90fc5b7 SHA256 0dbb68e63c8b= 7ecfeb24449030b38076df495bc3e3878674c5f6f9fe5a7e254b EBUILD mysql-5.5.12.ebuild 3851 RMD160 be21bf4d77fd21dca965794d899c04f83= 607cfe7 SHA1 dcd690b860a3b6a8e06f8327af92c22cd90fc5b7 SHA256 0dbb68e63c8b= 7ecfeb24449030b38076df495bc3e3878674c5f6f9fe5a7e254b EBUILD mysql-5.5.14.ebuild 3916 RMD160 c477eb7200fa7444aaaaa48699477a858= d3de95f SHA1 32aeee60204ab8ed9b436144d88fc5f4da847ea2 SHA256 5382baf2d872= a1251cf052744c473708026145ea43c4e5f5de8273cb726ae491 @@ -30,22 +30,5 @@ EBUILD mysql-5.5.15.ebuild 3916 RMD160 c477eb7200fa744= 4aaaaa48699477a858d3de95f EBUILD mysql-5.5.16.ebuild 3916 RMD160 76009aec549974e273045b775534658c2= 8546d46 SHA1 8b64e7397234a413ad32f08fff412c35fa878847 SHA256 74326b102935= a0d0f7feb630e6b3e1372177a0d4e3aa506ef3becb9a5155c8e5 EBUILD mysql-5.5.17.ebuild 3916 RMD160 76009aec549974e273045b775534658c2= 8546d46 SHA1 8b64e7397234a413ad32f08fff412c35fa878847 SHA256 74326b102935= a0d0f7feb630e6b3e1372177a0d4e3aa506ef3becb9a5155c8e5 EBUILD mysql-5.6.2_alpha_pre5.ebuild 3851 RMD160 acdea00ab14deb95ba74704= 627d7bf3c86cb7dc8 SHA1 a18ab55f074e23da30e505b10fd66ce97b80fcfb SHA256 f3= 08eceb7cc0b3126fc532ffa8304464276a21adef738fcd92a62cf4d4ed38dd -MISC ChangeLog 8080 RMD160 b84fec5ea42171cbf4c209c0d2253431bec266e6 SHA1= ae568fffa47ccb137a734d9412dd287027789b64 SHA256 402571497cc83abb35b2072a= eacf55071fffde8d4327ad879e05329a2c81664d +MISC ChangeLog 8201 RMD160 3978469716f52a7e9e7264364d2169c78c58342f SHA1= 594d3a51d9471b786e6933e7c9fd2584788643a5 SHA256 c4cfa668cc8e570010bd7c96= 5c722a1318a583ae02390af9c7db1fb9173de155 MISC metadata.xml 1144 RMD160 2e8b432149e8467becaf1e52884437a80d31673d S= HA1 b516bc717f95725fe9e6486b6101f42e42007909 SHA256 e84ceb0d15ac0384c33c6= a6451ccf4902f7c2aa9d227b931c12c25695e4b62a2 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.18 (GNU/Linux) - -iQIcBAEBAgAGBQJOqGLxAAoJEC8ZTXQF1qEPkkIP/0sdIEDLQHiUnzFsMvyENLFB -tZALrC1WtZ5xCIE/iwGzmH/t5F4LBIKhEKR0AQ2RvWqD2pPodWOSgPalQ/vI6bpj -yJU242GOXwfdVJMIRr8vKrerjrswwY17gMavxgn+8/P8BkNfEqAbusD09f5pf4+X -RXXqmGIMtpyzRQOnGabTogzJfC0SvgPVG8T9e/tyGzxPJqpmQeB/0wyNt2z0vc2n -9o9ehtdz8afEJPyNHTygzx+OIZ32J48y7GnIpTB0Eu9DdbTKLX5UtWkWj+eKGr7y -YCElMz7y+QLf5R5iucx9qNZ7zXPHAos5zVuC9QAX4XHaSxkbhU0Ssbe/mSjog1y9 -a/zr2Z6mXKboB6smYIw02Vcqbx/yw/aQeZTS+pOKjO9EaE5ukfPEimQCoWEdXhEE -G98TTVQJgRclBHywNXDmo7UAUOx/VPEhjDJzGtlKAmhsfiElWUZgH7hW/UPN9fH4 -8G7/ujPx5Zlod1A6ztCwyInDxJXQzITyqBBVgDQc/D00/ObVqTaOmzVMCZfEIHlb -zNjM9x51qblQ0X7hJ3BHuuiJF8B2eiSgzBFXLY1WyKMwi0LWOv2WRDSJ4nwoClcb -7dbqVpelEN/qL1oVo3yspek38JJzO/ZeD4qdReAVTH43fNNkVhpOd3BSxNYgosi8 -22+66dUafuwW2uZJ2IuX -=3DJeWS ------END PGP SIGNATURE----- diff --git a/dev-db/mysql/mysql-5.1.60.ebuild b/dev-db/mysql/mysql-5.1.60= .ebuild new file mode 100644 index 0000000..c640e0d --- /dev/null +++ b/dev-db/mysql/mysql-5.1.60.ebuild @@ -0,0 +1,261 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.58.ebuild,v 1.= 1 2011/07/13 07:37:01 robbat2 Exp $ + +EAPI=3D"4" + +MY_EXTRAS_VER=3D"20111118-2347Z" +# PBXT +PBXT_VERSION=3D'1.0.11-6-pre-ga' +# XtraDB +PERCONA_VER=3D'5.1.45-10' XTRADB_VER=3D'1.0.6-10' + +# Build type +BUILD=3D"autotools" + +inherit toolchain-funcs mysql-v2 + +# only to make repoman happy. it is really set in the eclass +IUSE=3D"$IUSE" + +# REMEMBER: also update eclass/mysql*.eclass before committing! +KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~= sparc ~x86 ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x64-macos ~x86-solaris" + +# When MY_EXTRAS is bumped, the index should be revised to exclude these= . +# This is often broken still +EPATCH_EXCLUDE=3D'' + +# Most of these are in the eclass +DEPEND=3D"|| ( >=3Dsys-devel/gcc-3.4.6 >=3Dsys-devel/gcc-apple-4.0 ) + >=3Dsys-devel/libtool-2.2.10" +RDEPEND=3D"${RDEPEND}" + +# Please do not add a naive src_unpack to this ebuild +# If you want to add a single patch, copy the ebuild to an overlay +# and create your own mysql-extras tarball, looking at 000_index.txt +src_prepare() { + sed -i \ + -e '/^noinst_PROGRAMS/s/basic-t//g' \ + "${S}"/unittest/mytap/t/Makefile.am + mysql-v2_src_prepare +} + +# Official test instructions: +# USE=3D'berkdb -cluster embedded extraengine perl ssl community' \ +# FEATURES=3D'test userpriv -usersandbox' \ +# ebuild mysql-X.X.XX.ebuild \ +# digest clean package +src_test() { + # Bug #213475 - MySQL _will_ object strenously if your machine is named + # localhost. Also causes weird failures. + [[ "${HOSTNAME}" =3D=3D "localhost" ]] && die "Your machine must NOT be= named localhost" + + emake check || die "make check failed" + if ! use "minimal" ; then + if [[ $UID -eq 0 ]]; then + die "Testing with FEATURES=3D-userpriv is no longer supported by upst= ream. Tests MUST be run as non-root." + fi + has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" + cd "${S}" + einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" + local retstatus_unit + local retstatus_ns + local retstatus_ps + local t + addpredict /this-dir-does-not-exist/t9.MYI + + # Ensure that parallel runs don't die + export MTR_BUILD_THREAD=3D"$((${RANDOM} % 100))" + + # archive_gis really sucks a lot, but it's only relevant for the + # USE=3Dextraengines case + case ${PV} in + 5.0.42) + mysql-v2_disable_test "archive_gis" "Totally broken in 5.0.42" + ;; + + 5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87) + [ "$(tc-endian)" =3D=3D "big" ] && \ + mysql-v2_disable_test \ + "archive_gis" \ + "Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only" + ;; + esac + + # This was a slight testcase breakage when the read_only security issu= e + # was fixed. + case ${PV} in + 5.0.54|5.0.51*) + mysql-v2_disable_test \ + "read_only" \ + "Broken in 5.0.51-54, output in wrong order" + ;; + esac + + # Ditto to read_only + [ "${PV}" =3D=3D "5.0.51a" ] && \ + mysql-v2_disable_test \ + "view" \ + "Broken in 5.0.51, output in wrong order" + + # x86-specific, OOM issue with some subselects on low memory servers + [ "${PV}" =3D=3D "5.0.54" ] && \ + [ "${ARCH/x86}" !=3D "${ARCH}" ] && \ + mysql-v2_disable_test \ + "subselect" \ + "Testcase needs tuning on x86 for oom condition" + + # Broke with the YaSSL security issue that didn't affect Gentoo. + [ "${PV}" =3D=3D "5.0.56" ] && \ + for t in openssl_1 rpl_openssl rpl_ssl ssl \ + ssl_8k_key ssl_compress ssl_connect ; do \ + mysql-v2_disable_test \ + "$t" \ + "OpenSSL tests broken on 5.0.56" + done + + # New test was broken in first time + # Upstream bug 41066 + # http://bugs.mysql.com/bug.php?id=3D41066 + [ "${PV}" =3D=3D "5.0.72" ] && \ + mysql-v2_disable_test \ + "status2" \ + "Broken in 5.0.72, new test is broken, upstream bug #41066" + + # The entire 5.0 series has pre-generated SSL certificates, they have + # mostly expired now. ${S}/mysql-tests/std-data/*.pem + # The certs really SHOULD be generated for the tests, so that they are + # not expiring like this. We cannot do so ourselves as the tests look + # closely as the cert path data, and we do not have the CA key to rege= n + # ourselves. Alternatively, upstream should generate them with at leas= t + # 50-year validity. + # + # Known expiry points: + # 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09 + # 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27 + # 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28 + # + # mysql-test/std_data/untrusted-cacert.pem is MEANT to be + # expired/invalid. + case ${PV} in + 5.0.*|5.1.*|5.4.*|5.5.*) + for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_k= ey \ + ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \ + mysql-v2_disable_test \ + "$t" \ + "These OpenSSL tests break due to expired certificates" + done + ;; + esac + + # These are also failing in MySQL 5.1 for now, and are believed to be + # false positives: + # + # main.mysql_comment, main.mysql_upgrade, main.information_schema, + # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers= : + # fails due to USE=3D-latin1 / utf8 default + # + # main.mysql_client_test: + # segfaults at random under Portage only, suspect resource limits. + # + # main.not_partition: + # Failure reason unknown at this time, must resolve before package.mas= k + # removal FIXME + case ${PV} in + 5.1.*|5.4.*|5.5.*) + for t in main.mysql_client_test main.mysql_comments \ + main.mysql_upgrade \ + main.information_schema \ + main.not_partition funcs_1.is_columns_mysql \ + funcs_1.is_tables_mysql funcs_1.is_triggers; do + mysql-v2_disable_test "$t" "False positives in Gentoo" + done + ;; + esac + + # New failures in 5.1.50/5.1.51, reported by jmbsvicetto. + # These tests are picking up a 'connect-timeout' config from somewhere= , + # which is not valid, and since it does not have 'loose-' in front of + # it, it's causing a failure + case ${PV} in + 5.1.5*|5.4.*|5.5.*|6*) + for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do + mysql-v2_disable_test "$t" \ + "False positives in Gentoo: connect-timeout" + done + ;; + esac + + use profiling && use community \ + || mysql-v2_disable_test main.profiling \ + "Profiling test needs profiling support" + + if [ "${PN}" =3D=3D "mariadb" ]; then + for t in \ + parts.part_supported_sql_func_ndb \ + parts.partition_auto_increment_ndb ; do + mysql-v2_disable_test $t "ndb not supported in mariadb" + done + fi + + # This fail with XtraDB in place of normal InnoDB + # TODO: test if they are broken with the rest of the Percona patches + if xtradb_patch_available && use xtradb ; then + for t in main.innodb innodb.innodb_bug51378 \ + main.information_schema_db main.mysqlshow \ + main.innodb-autoinc main.innodb_bug21704 \ + main.innodb_bug44369 main.innodb_bug46000 \ + main.index_merge_innodb \ + innodb.innodb innodb.innodb_misc1 innodb.innodb_bug52663 \ + innodb.innodb-autoinc innodb.innodb-autoinc-44030 \ + innodb.innodb_bug21704 innodb.innodb_bug44369 \ + innodb.innodb_bug46000 innodb.innodb_bug48024 \ + innodb.innodb_bug49164 innodb.innodb_bug51920 \ + innodb.innodb_bug54044 \ + ; do + mysql-v2_disable_test $t "tests broken in xtradb" + done + fi + + # bug 332565 + if ! use extraengine ; then + for t in main.range ; do + mysql-v2_disable_test $t "Test $t requires USE=3Dextraengine" + done + fi + + # create directories because mysqladmin might make out of order + mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log} + + # We run the test protocols seperately + emake test-unit + retstatus_unit=3D$? + [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" + + emake test-ns force=3D"--force --vardir=3D${S}/mysql-test/var-ns" + retstatus_ns=3D$? + [[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed" + has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" + + emake test-ps force=3D"--force --vardir=3D${S}/mysql-test/var-ps" + retstatus_ps=3D$? + [[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed" + has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" + + # TODO: + # When upstream enables the pr and nr testsuites, we need those as wel= l. + + # Cleanup is important for these testcases. + pkill -9 -f "${S}/ndb" 2>/dev/null + pkill -9 -f "${S}/sql" 2>/dev/null + failures=3D"" + [[ $retstatus_unit -eq 0 ]] || failures=3D"${failures} test-unit" + [[ $retstatus_ns -eq 0 ]] || failures=3D"${failures} test-ns" + [[ $retstatus_ps -eq 0 ]] || failures=3D"${failures} test-ps" + has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" + [[ -z "$failures" ]] || die "Test failures: $failures" + einfo "Tests successfully completed" + else + einfo "Skipping server tests due to minimal build." + fi +}