Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/mysql:master commit in: dev-db/mysql/
Date: Fri, 29 May 2015 18:05:54
Message-Id: 1432922833.ff84938e4e476983c09c2ab26585e0752fc7bb63.grknight@gentoo
1 commit: ff84938e4e476983c09c2ab26585e0752fc7bb63
2 Author: layman <layman <AT> localhost>
3 AuthorDate: Fri May 29 18:07:13 2015 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Fri May 29 18:07:13 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/mysql.git/commit/?id=ff84938e
7
8 Version bump; needs test run
9
10 dev-db/mysql/Manifest | 5 +-
11 .../{mysql-5.5.42.ebuild => mysql-5.5.44.ebuild} | 2 +-
12 dev-db/mysql/mysql-5.6.22.ebuild | 153 ---------------------
13 dev-db/mysql/mysql-5.6.23.ebuild | 153 ---------------------
14 4 files changed, 2 insertions(+), 311 deletions(-)
15
16 diff --git a/dev-db/mysql/Manifest b/dev-db/mysql/Manifest
17 index a119e74..b000248 100644
18 --- a/dev-db/mysql/Manifest
19 +++ b/dev-db/mysql/Manifest
20 @@ -2,10 +2,8 @@ DIST mysql-4.0.27.tar.gz 11152643 SHA256 c79f83bed7c1ea98e018b8829375b55c1de838d
21 DIST mysql-4.1.22.tar.gz 17761101 SHA256 6bd2436fd0f233bb1518e15975cb4e9fa4434acb53c3c3cd7d4648219abf58e9 SHA512 9de1c2b27cf428a10f67a6217fc2783b638beb6345e2127a4163ceb286073886d223de861c40be0ab36ea78ec5f33ccd5ee457d1e35e67b081d629118b68d390 WHIRLPOOL b40ca2e0d07fc0bd504e57b7eb005d36cf842bb668e93722c723bcc5a797dc9b456ee8971ea99bfc2b9119a2e19ee599f8441eb4601709eb4238196a27319257
22 DIST mysql-5.0.96.tar.gz 22686667 SHA256 43853814775158aa1650f483530a7dde153957579e3349e3ec780b89d741fc84 SHA512 2e3b4ac221c1c1c11618dc79067a7feff680380fcea435813287b02cb0dff45fb5a32a4393c53cf13165f6efc99dbf347a9388ad364cfdf2e392760a310aa5a9 WHIRLPOOL 3e167e4ff4c56095fbdee55b7e619c9b7ad2120eb72c9a58fe77a023ab6e7498c74e2053876e61687d7812f9ff7022303728ddda49732e7569035684263d2517
23 DIST mysql-5.1.73.tar.gz 24023347 SHA256 05ebe21305408b24407d14b77607a3e5ffa3c300e03f1359d3066f301989dcb5 SHA512 2e3651ebc1370dad7e01158cdd99133ed3f90c985114766b6282d58b743ae7bce16db797e82819fa5bbc2fa53d89811fd76b278c7459338288e7957634a8c3ff WHIRLPOOL f47c3fe1cd98b8ca2163646c760bd9763c65eab0591b31fe30a8c55c72c8b10d7b549b394493695cf98f50999364409ef8158661141277e6d99b011835aef942
24 -DIST mysql-5.5.42.tar.gz 21795431 SHA256 887b12676be4893fa833e4a585c6c8b0c0f18dee30ba7d22cfe860cd85bfc74a SHA512 d02ea8d5a3f0309c2bd17241c9feca81ef35acc2595bfcb134fe436cd6a3d9ddbac5daa71ac75d953518ec2dc5791f953663648f52727bb37cb378d6663f2e0a WHIRLPOOL 43accca23246c353d0ce4e8d0807c4f4f80ba00e2a1d08a97fec5e59abed1278c34c2cda010894af9f98e866aee2a33614c8bf4fe4b840d45ff1d88993a1ff9e
25 DIST mysql-5.5.43.tar.gz 21784417 SHA256 43d3df79e5c839a2749deb6e056a4589e49c903e09034c18653ec56e6e4774cd SHA512 b14506ac45fa4c69a6b7bbf64b2c3e59516b1fca3e0cce97e9712c09abecbf50071a60fc09f3e009d8591bf0d7352f28479cd8cb5445008ee146735897878b52 WHIRLPOOL 93e77045f4c4b188db38912ec6709bfee1ee0e0b7bf4cadfbeede8aef701d1f0cbf238e02d82013ceabe13df952e4f08c75bd3ad7504790677dc5a5ec4844fea
26 -DIST mysql-5.6.22.tar.gz 33115516 SHA256 c4d2dfabb20a8e26e8437dff41f366520001eb031ffd77fbfcde70d0073fc9f6 SHA512 11b4a1b34ff4bb63d7cdbc1134947772b2c30715b1e3d3fba2ed9c5102f0bde14a708561b2d463014eca64f5fb415a54a0e1656d48f118b403e66d83b98f5b82 WHIRLPOOL a85db903ce1bc542ac87d832d2d0d84cd4c8a75f5feae435d0a9c5ce26f792b7d30c0113764315e8df0e74a899ee2c02233e3b193b42a98daf46ed52b5ccc9cd
27 -DIST mysql-5.6.23.tar.gz 33115859 SHA256 3bd21af06a9304e372daba41fa5612bb54ac1bc05a4349b3160d0cda972ac098 SHA512 ac648550934ac6ddcb0cbc93731c2d913288dff53ada665f161d14c46e16f2a8ad8d09106a2718e8412f859ea9cf038d04e4c6f5fbea6e4424f9373ddccf4da3 WHIRLPOOL ae315cc7a60408cc050a7941b3c16cf169554b5a67fe4ce23a9b183cb551168f2ec3817e28cf0aa24b619ddc1b638bd926cfcf9c2e0755b2acbf1b82548b2581
28 +DIST mysql-5.5.44.tar.gz 21789766 SHA256 85f05b257db39e63c82ff4b5ce4e0c6d2b07560b5fc1646d47d7ae48eab3e5de SHA512 05707b96c3e0d39ca103d965640aa1a9461a513f788fc7f2acce4b3933ec578b3d66df53955b0dff1b6c9e5acd98441cfe1df5b3154a1058293babc39c26dad5 WHIRLPOOL 870d9728c78f6732fcd6f95e62833a769c937c96298a39bb023b33a9138552e254d2a3f6285d8f4f0b740de9d7397fa1a0987234a0a4dfa13c787fc068053d78
29 DIST mysql-5.6.24.tar.gz 33178592 SHA256 37e27305b67d76883c5902dce59c89d596beee9dca7dbadd4a2e117f8101dfeb SHA512 cb4c27f67aad02e2120edb9dfaffa623d8ddb5861ee77055553c50cce76cbfe0a1e473e01cef3cf86b6362c719e1db18e69808a0e4e457f879a37297f14b9fd7 WHIRLPOOL 26e51a1c48d04c2f24f8914beb84bcd8122ecc569b922d001c05271c3b7dc3339652272e27169001c762356c6fffa9ba88a6ccd8b2235e41063b5948e1dd2011
30 DIST mysql-5.7.6-m16.tar.gz 47330399 SHA256 bba884fba916eea6cdaa3880af826c6f3b516f80319f35b1be6d4d3ea9c9d42d SHA512 1b5cfedc4e18dcc6ca722e6339f593e5d26131c3e582b9b3bc8905bb9e005feb9f5af620e85cf6e57bead07ee306fe490a2d04e7c8e2fa349d947c718776c57e WHIRLPOOL 48a804191825ad2927f99c540d477a71d5882f65e14fafa94cfaffc320a752f81e613ff2b05ebc61a16474e3466b037d79f0ddf57b7ba2afc3a5d9ae7ad345cc
31 DIST mysql-5.7.7-rc.tar.gz 47772644 SHA256 1f3069670ff6f1453a6b9ad569485977036c0d91a7267f15934e71ee1c7f8ff0 SHA512 443c74b6c5a5845a0ae3be054aa69970b49f5e71941316e80c680c416f0a0d06596ca6e314ffda7e735775e2eeb2414bbe11ea964a84593d9433ca6961cb257c WHIRLPOOL 29d4586e889fe426ff5f07d2a5d727db7165266f7f02910b1737d4f882b95fcb5b156c01f52b8f5bbb80c021d0e408a87ca032503f74a64fee2e90af43d98ec5
32 @@ -13,7 +11,6 @@ DIST mysql-extras-20070105.tar.bz2 50005 SHA256 17697bf70acffd0eeefd976b5ef06dd3
33 DIST mysql-extras-20090228-2228Z.tar.bz2 254048 SHA256 03a986a5c5ae57f1436553565239613e978ae11e12834fcb275ec6457b12b6fb SHA512 b347c0894d45cff2c10e26c12d7586c335811b607cd760b48e51743e74c55ace820d2d50fac2ce72543c14b9b4d15afce336bd956ea8a820df4a651f23e3b79f WHIRLPOOL 4d89a44791ec7e95baa3822bb62a3638c86d24bcfc777b9ff5a8d26020e7401159a3c03ebda9907fcbf02589b80726f2daa5bf2498d8e6e6e33540edf9b1d551
34 DIST mysql-extras-20120401-2131Z.tar.bz2 1835097 SHA256 95e531799ed267c566da8b0759da78d0351d6004c7c8a45018054e287a989495 SHA512 0625e1f06e04c7841256955950dd7766a5f03d4ade2aee3c13335f08acff374933ed1fd7ddea214eaaa3531d7373ef094734f5c00530555347f058f5ec4d9d36 WHIRLPOOL f2c6e9387b38b609d3bfea83c6983c456d30a9dcf95c256a44402d4c63fa22543d55d6afa9b8dbf4238dcadf32fac3daec5031d50c8a4acf7a074d04fbede213
35 DIST mysql-extras-20140514-0124Z.tar.bz2 1493742 SHA256 0cdda9f8587532375274510a8a1f8fe5e80f10cfdf851a01074109803f7ee4cf SHA512 7a798809809b35a515a3475be5f1a96547d495592c83c4cf5c79fb07ceb45a04000da8922d051004c0f2d944f92ca47b75ad08d06a8dccca2ae9f94778d31a7e WHIRLPOOL 371446d80cd9fa22a28eeecde8d18c9c3ca76db9bc57a4ab2073ed0fc1d19a70a06a33cb92257a671849e4bad8bfb9f235272ee1221c7c21ce5f45bc900a59cc
36 -DIST mysql-extras-20141203-2105Z.tar.bz2 1494317 SHA256 cec9fe6873563840e9520ec9f02d06e1262748847be45a9aeaaa841f7ed4b4dc SHA512 958b410d7905d7911a69288ba9a9ebb1d80ff38281506e18400652b15895eb3926d9679fd245a54f4f7cdb688ed9940f21b1b4634239dbc1a1db19ac3918921a WHIRLPOOL baf70684826f393723bd3877813d9415c15b847ffd71757535a12106bff4fcf343cca37e166d45be06eca0425d249dc600bc752ab5e27e02ead3897952ceb169
37 DIST mysql-extras-20150127-1351Z.tar.bz2 1494648 SHA256 74497659f1fb3b0cb620e38a911cf2e59a084149dd175199eb7cf4be18b4c328 SHA512 886e42697b3b0a90d8542bafaf3a7ccedf075f9f0065fec995bf58f645edff3a5d62f29be1cfa2e01d002d6382ee02279832cea8c21db6a774c2567c75ab6a35 WHIRLPOOL 9ddb5ccd914a6a6a19741ff93df78534d2273cf918f24af427c018b7c4f424a90d9f57f167633c48e2fa4102a4fae0873fd6dec7529839f229af855cbddf82d4
38 DIST mysql-extras-20150410-1944Z.tar.bz2 1493690 SHA256 e327adf02be4c2bce5121f01d6b139309c72814b8c50a29559dfddee12a0b4e2 SHA512 e2e5345290134e597734514041e413f0633b8078bfddb8b8e7695468ce7341735b732d5bb602ab7aa9a4045d71571b73aac01a5d96687d4fbd380736f5ed650c WHIRLPOOL f65f294905fd1d04e2be79a803b658ed432338501665a75cbe0cc5b3af8abf0615f1f808465c3ca3c7e850b9277f451f5c77b518977f4bee8dc77d6089ff88fb
39 DIST pbxt-1.0.11-6-pre-ga.tar.gz 3156307 SHA256 71ff3d86e9e5691f3efe541bf31f55a7ec2a88af27df6ad853b65902e00e6d12 SHA512 fa238303f06e0a9adfb10bd5a2e1d2e4850d2c17a350af3874cbff099d6e47b7c555d750c584d06a3ca87c1eb1e9301a9619d8d9a4cffb7fd0169b2b3a63c80c WHIRLPOOL 05cdd39f6f5dafff2def0062a00a24eff6cf6d8754f622b133365cef47cd6b828df5500ac407359d0793a75dd239ec1e49a13d2400a01ddf8b4cef7466e86962
40
41 diff --git a/dev-db/mysql/mysql-5.5.42.ebuild b/dev-db/mysql/mysql-5.5.44.ebuild
42 similarity index 97%
43 rename from dev-db/mysql/mysql-5.5.42.ebuild
44 rename to dev-db/mysql/mysql-5.5.44.ebuild
45 index 9240420..c1359cb 100644
46 --- a/dev-db/mysql/mysql-5.5.42.ebuild
47 +++ b/dev-db/mysql/mysql-5.5.44.ebuild
48 @@ -1,6 +1,6 @@
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.5.42.ebuild,v 1.1 2015/02/05 16:03:20 grknight Exp $
52 +# $Header: $
53
54 EAPI="5"
55
56
57 diff --git a/dev-db/mysql/mysql-5.6.22.ebuild b/dev-db/mysql/mysql-5.6.22.ebuild
58 deleted file mode 100644
59 index e3fd130..0000000
60 --- a/dev-db/mysql/mysql-5.6.22.ebuild
61 +++ /dev/null
62 @@ -1,153 +0,0 @@
63 -# Copyright 1999-2015 Gentoo Foundation
64 -# Distributed under the terms of the GNU General Public License v2
65 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.6.22.ebuild,v 1.11 2015/02/16 10:27:41 ago Exp $
66 -
67 -EAPI="5"
68 -
69 -MY_EXTRAS_VER="20141203-2105Z"
70 -MY_PV="${PV//_alpha_pre/-m}"
71 -MY_PV="${MY_PV//_/-}"
72 -
73 -inherit toolchain-funcs mysql-multilib
74 -# only to make repoman happy. it is really set in the eclass
75 -IUSE="$IUSE"
76 -
77 -# REMEMBER: also update eclass/mysql*.eclass before committing!
78 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
79 -
80 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
81 -EPATCH_EXCLUDE=''
82 -
83 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
84 -RDEPEND="${RDEPEND}"
85 -
86 -# Please do not add a naive src_unpack to this ebuild
87 -# If you want to add a single patch, copy the ebuild to an overlay
88 -# and create your own mysql-extras tarball, looking at 000_index.txt
89 -
90 -# Official test instructions:
91 -# USE='-cluster embedded extraengine perl ssl static-libs community' \
92 -# FEATURES='test userpriv -usersandbox' \
93 -# ebuild mysql-X.X.XX.ebuild \
94 -# digest clean package
95 -multilib_src_test() {
96 -
97 - if ! multilib_is_native_abi ; then
98 - einfo "Server tests not available on non-native abi".
99 - return 0;
100 - fi
101 -
102 - local TESTDIR="${BUILD_DIR}/mysql-test"
103 - local retstatus_unit
104 - local retstatus_tests
105 -
106 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
107 - # localhost. Also causes weird failures.
108 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
109 -
110 - if ! use "minimal" ; then
111 -
112 - if [[ $UID -eq 0 ]]; then
113 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
114 - fi
115 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
116 -
117 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
118 - addpredict /this-dir-does-not-exist/t9.MYI
119 -
120 - # Run CTest (test-units)
121 - cmake-utils_src_test
122 - retstatus_unit=$?
123 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
124 -
125 - # Ensure that parallel runs don't die
126 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
127 - # Enable parallel testing, auto will try to detect number of cores
128 - # You may set this by hand.
129 - # The default maximum is 8 unless MTR_MAX_PARALLEL is increased
130 - export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
131 -
132 - # create directories because mysqladmin might right out of order
133 - mkdir -p "${T}"/var-tests{,/log}
134 -
135 - # create symlink for the tests to find mysql_tzinfo_to_sql
136 - ln -s "${BUILD_DIR}/sql/mysql_tzinfo_to_sql" "${S}/sql/"
137 -
138 - # These are failing in MySQL 5.5/5.6 for now and are believed to be
139 - # false positives:
140 - #
141 - # main.information_schema, binlog.binlog_statement_insert_delayed,
142 - # funcs_1.is_triggers funcs_1.is_tables_mysql,
143 - # funcs_1.is_columns_mysql, binlog.binlog_mysqlbinlog_filter,
144 - # perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt,
145 - # mysqld--help-notwin, funcs_1.is_triggers, funcs_1.is_tables_mysql, funcs_1.is_columns_mysql
146 - # perfschema.binlog_edge_stmt, perfschema.binlog_edge_mix, binlog.binlog_mysqlbinlog_filter
147 - # fails due to USE=-latin1 / utf8 default
148 - #
149 - # main.mysql_client_test:
150 - # segfaults at random under Portage only, suspect resource limits.
151 - #
152 - # rpl.rpl_plugin_load
153 - # fails due to included file not listed in expected result
154 - # appears to be poor planning
155 - #
156 - # main.mysqlhotcopy_archive main.mysqlhotcopy_myisam
157 - # fails due to bad cleanup of previous tests when run in parallel
158 - # The tool is deprecated anyway
159 - # Bug 532288
160 - for t in \
161 - binlog.binlog_mysqlbinlog_filter \
162 - binlog.binlog_statement_insert_delayed \
163 - funcs_1.is_columns_mysql \
164 - funcs_1.is_tables_mysql \
165 - funcs_1.is_triggers \
166 - main.information_schema \
167 - main.mysql_client_test \
168 - main.mysqld--help-notwin \
169 - perfschema.binlog_edge_mix \
170 - perfschema.binlog_edge_stmt \
171 - rpl.rpl_plugin_load \
172 - main.mysqlhotcopy_archive main.mysqlhotcopy_myisam \
173 - ; do
174 - mysql-multilib_disable_test "$t" "False positives in Gentoo"
175 - done
176 -
177 - if ! use extraengine ; then
178 - # bug 401673, 530766
179 - for t in federated.federated_plugin ; do
180 - mysql-multilib_disable_test "$t" "Test $t requires USE=extraengine (Need federated engine)"
181 - done
182 - fi
183 -
184 - # Run mysql tests
185 - pushd "${TESTDIR}"
186 -
187 - # Set file limits higher so tests run
188 - ulimit -n 3000
189 -
190 - # run mysql-test tests
191 - perl mysql-test-run.pl --force --vardir="${T}/var-tests" \
192 - --suite-timeout=5000
193 - retstatus_tests=$?
194 - [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
195 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
196 -
197 - popd
198 -
199 - # Cleanup is important for these testcases.
200 - pkill -9 -f "${S}/ndb" 2>/dev/null
201 - pkill -9 -f "${S}/sql" 2>/dev/null
202 -
203 - failures=""
204 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
205 - [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
206 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
207 -
208 - [[ -z "$failures" ]] || die "Test failures: $failures"
209 - einfo "Tests successfully completed"
210 -
211 - else
212 -
213 - einfo "Skipping server tests due to minimal build."
214 - fi
215 -}
216
217 diff --git a/dev-db/mysql/mysql-5.6.23.ebuild b/dev-db/mysql/mysql-5.6.23.ebuild
218 deleted file mode 100644
219 index f2e172e..0000000
220 --- a/dev-db/mysql/mysql-5.6.23.ebuild
221 +++ /dev/null
222 @@ -1,153 +0,0 @@
223 -# Copyright 1999-2015 Gentoo Foundation
224 -# Distributed under the terms of the GNU General Public License v2
225 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.6.23.ebuild,v 1.1 2015/02/04 18:30:31 grknight Exp $
226 -
227 -EAPI="5"
228 -
229 -MY_EXTRAS_VER="20150127-1351Z"
230 -MY_PV="${PV//_alpha_pre/-m}"
231 -MY_PV="${MY_PV//_/-}"
232 -
233 -inherit toolchain-funcs mysql-multilib
234 -# only to make repoman happy. it is really set in the eclass
235 -IUSE="$IUSE"
236 -
237 -# REMEMBER: also update eclass/mysql*.eclass before committing!
238 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
239 -
240 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
241 -EPATCH_EXCLUDE=''
242 -
243 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
244 -RDEPEND="${RDEPEND}"
245 -
246 -# Please do not add a naive src_unpack to this ebuild
247 -# If you want to add a single patch, copy the ebuild to an overlay
248 -# and create your own mysql-extras tarball, looking at 000_index.txt
249 -
250 -# Official test instructions:
251 -# USE='-cluster embedded extraengine perl ssl static-libs community' \
252 -# FEATURES='test userpriv -usersandbox' \
253 -# ebuild mysql-X.X.XX.ebuild \
254 -# digest clean package
255 -multilib_src_test() {
256 -
257 - if ! multilib_is_native_abi ; then
258 - einfo "Server tests not available on non-native abi".
259 - return 0;
260 - fi
261 -
262 - local TESTDIR="${BUILD_DIR}/mysql-test"
263 - local retstatus_unit
264 - local retstatus_tests
265 -
266 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
267 - # localhost. Also causes weird failures.
268 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
269 -
270 - if ! use "minimal" ; then
271 -
272 - if [[ $UID -eq 0 ]]; then
273 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
274 - fi
275 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
276 -
277 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
278 - addpredict /this-dir-does-not-exist/t9.MYI
279 -
280 - # Run CTest (test-units)
281 - cmake-utils_src_test
282 - retstatus_unit=$?
283 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
284 -
285 - # Ensure that parallel runs don't die
286 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
287 - # Enable parallel testing, auto will try to detect number of cores
288 - # You may set this by hand.
289 - # The default maximum is 8 unless MTR_MAX_PARALLEL is increased
290 - export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
291 -
292 - # create directories because mysqladmin might right out of order
293 - mkdir -p "${T}"/var-tests{,/log}
294 -
295 - # create symlink for the tests to find mysql_tzinfo_to_sql
296 - ln -s "${BUILD_DIR}/sql/mysql_tzinfo_to_sql" "${S}/sql/"
297 -
298 - # These are failing in MySQL 5.5/5.6 for now and are believed to be
299 - # false positives:
300 - #
301 - # main.information_schema, binlog.binlog_statement_insert_delayed,
302 - # funcs_1.is_triggers funcs_1.is_tables_mysql,
303 - # funcs_1.is_columns_mysql, binlog.binlog_mysqlbinlog_filter,
304 - # perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt,
305 - # mysqld--help-notwin, funcs_1.is_triggers, funcs_1.is_tables_mysql, funcs_1.is_columns_mysql
306 - # perfschema.binlog_edge_stmt, perfschema.binlog_edge_mix, binlog.binlog_mysqlbinlog_filter
307 - # fails due to USE=-latin1 / utf8 default
308 - #
309 - # main.mysql_client_test:
310 - # segfaults at random under Portage only, suspect resource limits.
311 - #
312 - # rpl.rpl_plugin_load
313 - # fails due to included file not listed in expected result
314 - # appears to be poor planning
315 - #
316 - # main.mysqlhotcopy_archive main.mysqlhotcopy_myisam
317 - # fails due to bad cleanup of previous tests when run in parallel
318 - # The tool is deprecated anyway
319 - # Bug 532288
320 - for t in \
321 - binlog.binlog_mysqlbinlog_filter \
322 - binlog.binlog_statement_insert_delayed \
323 - funcs_1.is_columns_mysql \
324 - funcs_1.is_tables_mysql \
325 - funcs_1.is_triggers \
326 - main.information_schema \
327 - main.mysql_client_test \
328 - main.mysqld--help-notwin \
329 - perfschema.binlog_edge_mix \
330 - perfschema.binlog_edge_stmt \
331 - rpl.rpl_plugin_load \
332 - main.mysqlhotcopy_archive main.mysqlhotcopy_myisam \
333 - ; do
334 - mysql-multilib_disable_test "$t" "False positives in Gentoo"
335 - done
336 -
337 - if ! use extraengine ; then
338 - # bug 401673, 530766
339 - for t in federated.federated_plugin ; do
340 - mysql-multilib_disable_test "$t" "Test $t requires USE=extraengine (Need federated engine)"
341 - done
342 - fi
343 -
344 - # Run mysql tests
345 - pushd "${TESTDIR}"
346 -
347 - # Set file limits higher so tests run
348 - ulimit -n 3000
349 -
350 - # run mysql-test tests
351 - perl mysql-test-run.pl --force --vardir="${T}/var-tests" \
352 - --suite-timeout=5000
353 - retstatus_tests=$?
354 - [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
355 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
356 -
357 - popd
358 -
359 - # Cleanup is important for these testcases.
360 - pkill -9 -f "${S}/ndb" 2>/dev/null
361 - pkill -9 -f "${S}/sql" 2>/dev/null
362 -
363 - failures=""
364 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
365 - [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
366 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
367 -
368 - [[ -z "$failures" ]] || die "Test failures: $failures"
369 - einfo "Tests successfully completed"
370 -
371 - else
372 -
373 - einfo "Skipping server tests due to minimal build."
374 - fi
375 -}