Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/mysql/
Date: Mon, 26 Oct 2015 13:24:14
Message-Id: 1445865770.104e30c633067f9e0cbb4708621646481273de03.grknight@gentoo
1 commit: 104e30c633067f9e0cbb4708621646481273de03
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 26 13:22:50 2015 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 26 13:22:50 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=104e30c6
7
8 dev-db/mysql: Drop old, unstable, security vulnerable versions
9
10 See http://www.oracle.com/technetwork/topics/security/cpuoct2015-2367953.html#AppendixMSQL
11 for security details
12
13 Package-Manager: portage-2.2.23
14
15 dev-db/mysql/Manifest | 3 -
16 dev-db/mysql/mysql-5.5.44.ebuild | 126 --------------------------
17 dev-db/mysql/mysql-5.5.45.ebuild | 126 --------------------------
18 dev-db/mysql/mysql-5.6.26-r1.ebuild | 173 ------------------------------------
19 4 files changed, 428 deletions(-)
20
21 diff --git a/dev-db/mysql/Manifest b/dev-db/mysql/Manifest
22 index 059566b..4593501 100644
23 --- a/dev-db/mysql/Manifest
24 +++ b/dev-db/mysql/Manifest
25 @@ -1,9 +1,6 @@
26 -DIST mysql-5.5.44.tar.gz 21789766 SHA256 85f05b257db39e63c82ff4b5ce4e0c6d2b07560b5fc1646d47d7ae48eab3e5de SHA512 05707b96c3e0d39ca103d965640aa1a9461a513f788fc7f2acce4b3933ec578b3d66df53955b0dff1b6c9e5acd98441cfe1df5b3154a1058293babc39c26dad5 WHIRLPOOL 870d9728c78f6732fcd6f95e62833a769c937c96298a39bb023b33a9138552e254d2a3f6285d8f4f0b740de9d7397fa1a0987234a0a4dfa13c787fc068053d78
27 -DIST mysql-5.5.45.tar.gz 21832364 SHA256 744efd3c39265b5fdeebd25f58ecb34a6eb06e02d9ec2febd3164942f2c89332 SHA512 1c8ddf294232b106562537d6e9b4a3956dd1a290562f313d311f2bbe09f1cb95c28e7e9a4c92a1fcc91a394514bc1190d185b1134003a9f6183ecc2a06d618e8 WHIRLPOOL 3daed09edfc1ca7a0ae379b876e061c2318755fdd14be9630b7c5311985e91ea46cf0e0b1eab98c758cc2809d5d562fcfd2f22022100051746343e147f3d4ebc
28 DIST mysql-5.5.46.tar.gz 21838374 SHA256 93e0d91f1b380508edcecdd102cbec79a609d6b594a8814922db1c0fd11c8c3e SHA512 c2db730318d4c16793d62dbd937c1ff739fffabab6d1689b94252f5501ff36917ddf80a8144583492c05220b3ae33f29ecbcec10f6d8ae0a0b10142be719fc27 WHIRLPOOL 355260ae0e7385c7d00b289e37af09374bc8320f69a55d7ee0469283382f197fd430be32019668b1f29cda69f9d76965d4ee749cb93f1e8263799673e4f0f535
29 DIST mysql-5.6.26.tar.gz 33278710 SHA256 b44c6ce5f95172c56c73edfa8b710b39242ec7af0ab182c040208c41866e5070 SHA512 455bf66e1c63e3368a3dd53f80a3393e33a20605cde320ee0bb61339d0853c2187d4947812405b85ea93a7da722787e958515fc69807c3fab131878fe9604f62 WHIRLPOOL e5fe46e4f1c8a20d955b5921c6773823cb1c01bd78319485528c478f213a37dc8ce8a1bc5c61904595e8931dec1376d471387a3f85119a0791cb8f6d9303eb6f
30 DIST mysql-5.6.27.tar.gz 33327156 SHA256 8356bba23f3f6c0c2d4806110c41d1c4d6a4b9c50825e11c5be4bbee2b20b71d SHA512 2839a2f481eec52272a7965d1344677c0d0b77d85108e3b4986dc346caebf62d9ef6347756bac156dd943ad57440d6cac9283ee252e30bd3a1e430c492aceb09 WHIRLPOOL 4fdc0db92822809824777c5f712c3e7898af58f178d22ec4ca1a56d9c9b4d782efe47b3b35b7cc9c7b45d31f25f0323cced346e29c24e7bc4e7b9d965c48cfd7
31 DIST mysql-extras-20150127-1351Z.tar.bz2 1494648 SHA256 74497659f1fb3b0cb620e38a911cf2e59a084149dd175199eb7cf4be18b4c328 SHA512 886e42697b3b0a90d8542bafaf3a7ccedf075f9f0065fec995bf58f645edff3a5d62f29be1cfa2e01d002d6382ee02279832cea8c21db6a774c2567c75ab6a35 WHIRLPOOL 9ddb5ccd914a6a6a19741ff93df78534d2273cf918f24af427c018b7c4f424a90d9f57f167633c48e2fa4102a4fae0873fd6dec7529839f229af855cbddf82d4
32 DIST mysql-extras-20150410-1944Z.tar.bz2 1493690 SHA256 e327adf02be4c2bce5121f01d6b139309c72814b8c50a29559dfddee12a0b4e2 SHA512 e2e5345290134e597734514041e413f0633b8078bfddb8b8e7695468ce7341735b732d5bb602ab7aa9a4045d71571b73aac01a5d96687d4fbd380736f5ed650c WHIRLPOOL f65f294905fd1d04e2be79a803b658ed432338501665a75cbe0cc5b3af8abf0615f1f808465c3ca3c7e850b9277f451f5c77b518977f4bee8dc77d6089ff88fb
33 DIST mysql-extras-20150717-1707Z.tar.bz2 1491956 SHA256 d67cc1e2c581ab7c57122b7d29864643869799893a95a158a18e14201d4ffc10 SHA512 3a7cb07773099e766f8e796d4e555d42874b85285cc2c7c60220370cc6aafc36a60eb340008637298d85d83f529e73392895a81c1438ffccff9eb8f354b29ba9 WHIRLPOOL 11e75f4b696e2547c1da40e69d8ab75df4bf7080426204c040632f24846407b07d71061c09c4ff4a1d21a9d14a94769d8f8ef62421d0aecd99efe832caf4dd22
34 -DIST mysql-extras-20150729-1849Z.tar.bz2 1491783 SHA256 18c3fadae04f1729169e587083135353680d7c59478cdb6ec0784b238ae8d34a SHA512 555156a00305732093173f83dd22dfa545ef0a3215d7cf419298b7f5be0f9bb8a527ae9c03f58d845223b40543e3dbd054ea103a105f282892cdbce67a864308 WHIRLPOOL 56a61fcd4af096b69318d9d158bf012944dc104aff01b2a55d20ae4a53dc462e9d7c67afb4a6643f93eef8da1f150f613b87880044fc244b040cbbc080c96034
35
36 diff --git a/dev-db/mysql/mysql-5.5.44.ebuild b/dev-db/mysql/mysql-5.5.44.ebuild
37 deleted file mode 100644
38 index 9cd6470..0000000
39 --- a/dev-db/mysql/mysql-5.5.44.ebuild
40 +++ /dev/null
41 @@ -1,126 +0,0 @@
42 -# Copyright 1999-2015 Gentoo Foundation
43 -# Distributed under the terms of the GNU General Public License v2
44 -# $Id$
45 -
46 -EAPI="5"
47 -
48 -MY_EXTRAS_VER="20150127-1351Z"
49 -MY_PV="${PV//_alpha_pre/-m}"
50 -MY_PV="${MY_PV//_/-}"
51 -
52 -# Build type
53 -BUILD="cmake"
54 -
55 -inherit toolchain-funcs mysql-v2
56 -# only to make repoman happy. it is really set in the eclass
57 -IUSE="$IUSE"
58 -
59 -# Define the mysql-extras source
60 -EGIT_REPO_URI="git://anongit.gentoo.org/proj/mysql-extras.git"
61 -
62 -# REMEMBER: also update eclass/mysql*.eclass before committing!
63 -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"
64 -
65 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
66 -EPATCH_EXCLUDE=''
67 -
68 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
69 -RDEPEND="${RDEPEND}"
70 -
71 -# Please do not add a naive src_unpack to this ebuild
72 -# If you want to add a single patch, copy the ebuild to an overlay
73 -# and create your own mysql-extras tarball, looking at 000_index.txt
74 -
75 -# Official test instructions:
76 -# USE='embedded extraengine perl ssl static-libs community' \
77 -# FEATURES='test userpriv -usersandbox' \
78 -# ebuild mysql-X.X.XX.ebuild \
79 -# digest clean package
80 -src_test() {
81 -
82 - local TESTDIR="${BUILD_DIR}/mysql-test"
83 - local retstatus_unit
84 - local retstatus_tests
85 -
86 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
87 - # localhost. Also causes weird failures.
88 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
89 -
90 - if ! use "minimal" ; then
91 -
92 - if [[ $UID -eq 0 ]]; then
93 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
94 - fi
95 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
96 -
97 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
98 - addpredict /this-dir-does-not-exist/t9.MYI
99 -
100 - # Run CTest (test-units)
101 - cmake-utils_src_test
102 - retstatus_unit=$?
103 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
104 -
105 - # Ensure that parallel runs don't die
106 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
107 - # Enable parallel testing, auto will try to detect number of cores
108 - # You may set this by hand.
109 - # The default maximum is 8 unless MTR_MAX_PARALLEL is increased
110 - export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
111 -
112 - # create directories because mysqladmin might right out of order
113 - mkdir -p "${T}"/var-tests{,/log}
114 -
115 - # create symlink for the tests to find mysql_tzinfo_to_sql
116 - ln -s "${BUILD_DIR}/sql/mysql_tzinfo_to_sql" "${S}/sql/"
117 -
118 - # These are failing in MySQL 5.5 for now and are believed to be
119 - # false positives:
120 - #
121 - # main.information_schema, binlog.binlog_statement_insert_delayed,
122 - # main.mysqld--help-notwin
123 - # fails due to USE=-latin1 / utf8 default
124 - #
125 - # main.mysql_client_test:
126 - # segfaults at random under Portage only, suspect resource limits.
127 - #
128 - # main.mysqlhotcopy_archive main.mysqlhotcopy_myisam
129 - # fails due to bad cleanup of previous tests when run in parallel
130 - # The tool is deprecated anyway
131 - # Bug 532288
132 -
133 - for t in main.mysql_client_test \
134 - binlog.binlog_statement_insert_delayed main.information_schema \
135 - main.mysqld--help-notwin main.mysqlhotcopy_archive main.mysqlhotcopy_myisam ; do
136 - mysql-v2_disable_test "$t" "False positives in Gentoo"
137 - done
138 -
139 - # Run mysql tests
140 - pushd "${TESTDIR}"
141 -
142 - # run mysql-test tests
143 - perl mysql-test-run.pl --force --vardir="${T}/var-tests" \
144 - --testcase-timeout=30
145 - retstatus_tests=$?
146 - [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
147 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
148 -
149 - popd
150 -
151 - # Cleanup is important for these testcases.
152 - pkill -9 -f "${S}/ndb" 2>/dev/null
153 - pkill -9 -f "${S}/sql" 2>/dev/null
154 -
155 - failures=""
156 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
157 - [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
158 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
159 -
160 - [[ -z "$failures" ]] || die "Test failures: $failures"
161 - einfo "Tests successfully completed"
162 -
163 - else
164 -
165 - einfo "Skipping server tests due to minimal build."
166 - fi
167 -}
168
169 diff --git a/dev-db/mysql/mysql-5.5.45.ebuild b/dev-db/mysql/mysql-5.5.45.ebuild
170 deleted file mode 100644
171 index 45c467c..0000000
172 --- a/dev-db/mysql/mysql-5.5.45.ebuild
173 +++ /dev/null
174 @@ -1,126 +0,0 @@
175 -# Copyright 1999-2015 Gentoo Foundation
176 -# Distributed under the terms of the GNU General Public License v2
177 -# $Id$
178 -
179 -EAPI="5"
180 -
181 -MY_EXTRAS_VER="20150729-1849Z"
182 -MY_PV="${PV//_alpha_pre/-m}"
183 -MY_PV="${MY_PV//_/-}"
184 -
185 -# Build type
186 -BUILD="cmake"
187 -
188 -inherit toolchain-funcs mysql-v2
189 -# only to make repoman happy. it is really set in the eclass
190 -IUSE="$IUSE"
191 -
192 -# Define the mysql-extras source
193 -EGIT_REPO_URI="git://anongit.gentoo.org/proj/mysql-extras.git"
194 -
195 -# REMEMBER: also update eclass/mysql*.eclass before committing!
196 -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"
197 -
198 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
199 -EPATCH_EXCLUDE=''
200 -
201 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
202 -RDEPEND="${RDEPEND}"
203 -
204 -# Please do not add a naive src_unpack to this ebuild
205 -# If you want to add a single patch, copy the ebuild to an overlay
206 -# and create your own mysql-extras tarball, looking at 000_index.txt
207 -
208 -# Official test instructions:
209 -# USE='embedded extraengine perl ssl static-libs community' \
210 -# FEATURES='test userpriv -usersandbox' \
211 -# ebuild mysql-X.X.XX.ebuild \
212 -# digest clean package
213 -src_test() {
214 -
215 - local TESTDIR="${BUILD_DIR}/mysql-test"
216 - local retstatus_unit
217 - local retstatus_tests
218 -
219 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
220 - # localhost. Also causes weird failures.
221 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
222 -
223 - if ! use "minimal" ; then
224 -
225 - if [[ $UID -eq 0 ]]; then
226 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
227 - fi
228 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
229 -
230 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
231 - addpredict /this-dir-does-not-exist/t9.MYI
232 -
233 - # Run CTest (test-units)
234 - cmake-utils_src_test
235 - retstatus_unit=$?
236 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
237 -
238 - # Ensure that parallel runs don't die
239 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
240 - # Enable parallel testing, auto will try to detect number of cores
241 - # You may set this by hand.
242 - # The default maximum is 8 unless MTR_MAX_PARALLEL is increased
243 - export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
244 -
245 - # create directories because mysqladmin might right out of order
246 - mkdir -p "${T}"/var-tests{,/log}
247 -
248 - # create symlink for the tests to find mysql_tzinfo_to_sql
249 - ln -s "${BUILD_DIR}/sql/mysql_tzinfo_to_sql" "${S}/sql/"
250 -
251 - # These are failing in MySQL 5.5 for now and are believed to be
252 - # false positives:
253 - #
254 - # main.information_schema, binlog.binlog_statement_insert_delayed,
255 - # main.mysqld--help-notwin
256 - # fails due to USE=-latin1 / utf8 default
257 - #
258 - # main.mysql_client_test:
259 - # segfaults at random under Portage only, suspect resource limits.
260 - #
261 - # main.mysqlhotcopy_archive main.mysqlhotcopy_myisam
262 - # fails due to bad cleanup of previous tests when run in parallel
263 - # The tool is deprecated anyway
264 - # Bug 532288
265 -
266 - for t in main.mysql_client_test \
267 - binlog.binlog_statement_insert_delayed main.information_schema \
268 - main.mysqld--help-notwin main.mysqlhotcopy_archive main.mysqlhotcopy_myisam ; do
269 - mysql-v2_disable_test "$t" "False positives in Gentoo"
270 - done
271 -
272 - # Run mysql tests
273 - pushd "${TESTDIR}"
274 -
275 - # run mysql-test tests
276 - perl mysql-test-run.pl --force --vardir="${T}/var-tests" \
277 - --testcase-timeout=30 --reorder
278 - retstatus_tests=$?
279 - [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
280 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
281 -
282 - popd
283 -
284 - # Cleanup is important for these testcases.
285 - pkill -9 -f "${S}/ndb" 2>/dev/null
286 - pkill -9 -f "${S}/sql" 2>/dev/null
287 -
288 - failures=""
289 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
290 - [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
291 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
292 -
293 - [[ -z "$failures" ]] || die "Test failures: $failures"
294 - einfo "Tests successfully completed"
295 -
296 - else
297 -
298 - einfo "Skipping server tests due to minimal build."
299 - fi
300 -}
301
302 diff --git a/dev-db/mysql/mysql-5.6.26-r1.ebuild b/dev-db/mysql/mysql-5.6.26-r1.ebuild
303 deleted file mode 100644
304 index 4ff5c0d..0000000
305 --- a/dev-db/mysql/mysql-5.6.26-r1.ebuild
306 +++ /dev/null
307 @@ -1,173 +0,0 @@
308 -# Copyright 1999-2015 Gentoo Foundation
309 -# Distributed under the terms of the GNU General Public License v2
310 -# $Id$
311 -
312 -EAPI="5"
313 -
314 -MY_EXTRAS_VER="20150717-1707Z"
315 -MY_PV="${PV//_alpha_pre/-m}"
316 -MY_PV="${MY_PV//_/-}"
317 -HAS_TOOLS_PATCH="1"
318 -SUBSLOT="18"
319 -
320 -inherit toolchain-funcs mysql-multilib
321 -# only to make repoman happy. it is really set in the eclass
322 -IUSE="$IUSE"
323 -
324 -# REMEMBER: also update eclass/mysql*.eclass before committing!
325 -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"
326 -
327 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
328 -EPATCH_EXCLUDE=''
329 -
330 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
331 -RDEPEND="${RDEPEND}"
332 -
333 -# Please do not add a naive src_unpack to this ebuild
334 -# If you want to add a single patch, copy the ebuild to an overlay
335 -# and create your own mysql-extras tarball, looking at 000_index.txt
336 -
337 -# validate_password plugin uses exceptions when it shouldn't yet (until 5.7)
338 -# disable until we see what happens with it
339 -MYSQL_CMAKE_NATIVE_DEFINES="-DWITHOUT_VALIDATE_PASSWORD=1"
340 -
341 -src_prepare() {
342 - mysql-multilib_src_prepare
343 - if use libressl ; then
344 - sed -i 's/OPENSSL_MAJOR_VERSION STREQUAL "1"/OPENSSL_MAJOR_VERSION STREQUAL "2"/' \
345 - "${S}/cmake/ssl.cmake" || die
346 - fi
347 -}
348 -
349 -# Official test instructions:
350 -# USE='server embedded extraengine perl ssl static-libs community' \
351 -# FEATURES='test userpriv -usersandbox' \
352 -# ebuild mysql-X.X.XX.ebuild \
353 -# digest clean package
354 -multilib_src_test() {
355 -
356 - if ! multilib_is_native_abi ; then
357 - einfo "Server tests not available on non-native abi".
358 - return 0;
359 - fi
360 -
361 - local TESTDIR="${BUILD_DIR}/mysql-test"
362 - local retstatus_unit
363 - local retstatus_tests
364 -
365 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
366 - # localhost. Also causes weird failures.
367 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
368 -
369 - if use server ; then
370 -
371 - if [[ $UID -eq 0 ]]; then
372 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
373 - fi
374 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
375 -
376 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
377 - addpredict /this-dir-does-not-exist/t9.MYI
378 -
379 - # Run CTest (test-units)
380 - cmake-utils_src_test
381 - retstatus_unit=$?
382 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
383 -
384 - # Create a symlink to provided binaries so the tests can find them when client-libs is off
385 - if ! use client-libs ; then
386 - ln -srf /usr/bin/my_print_defaults "${BUILD_DIR}/client/my_print_defaults" || die
387 - ln -srf /usr/bin/perror "${BUILD_DIR}/client/perror" || die
388 - mysql-multilib_disable_test main.perror "String mismatch due to not building local perror"
389 - fi
390 -
391 - # Ensure that parallel runs don't die
392 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
393 - # Enable parallel testing, auto will try to detect number of cores
394 - # You may set this by hand.
395 - # The default maximum is 8 unless MTR_MAX_PARALLEL is increased
396 - export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
397 -
398 - # create directories because mysqladmin might right out of order
399 - mkdir -p "${T}"/var-tests{,/log}
400 -
401 - # create symlink for the tests to find mysql_tzinfo_to_sql
402 - ln -s "${BUILD_DIR}/sql/mysql_tzinfo_to_sql" "${S}/sql/"
403 -
404 - # These are failing in MySQL 5.5/5.6 for now and are believed to be
405 - # false positives:
406 - #
407 - # main.information_schema, binlog.binlog_statement_insert_delayed,
408 - # funcs_1.is_triggers funcs_1.is_tables_mysql,
409 - # funcs_1.is_columns_mysql, binlog.binlog_mysqlbinlog_filter,
410 - # perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt,
411 - # mysqld--help-notwin, funcs_1.is_triggers, funcs_1.is_tables_mysql, funcs_1.is_columns_mysql
412 - # perfschema.binlog_edge_stmt, perfschema.binlog_edge_mix, binlog.binlog_mysqlbinlog_filter
413 - # fails due to USE=-latin1 / utf8 default
414 - #
415 - # main.mysql_client_test:
416 - # segfaults at random under Portage only, suspect resource limits.
417 - #
418 - # rpl.rpl_plugin_load
419 - # fails due to included file not listed in expected result
420 - # appears to be poor planning
421 - #
422 - # main.mysqlhotcopy_archive main.mysqlhotcopy_myisam
423 - # fails due to bad cleanup of previous tests when run in parallel
424 - # The tool is deprecated anyway
425 - # Bug 532288
426 - for t in \
427 - binlog.binlog_mysqlbinlog_filter \
428 - binlog.binlog_statement_insert_delayed \
429 - funcs_1.is_columns_mysql \
430 - funcs_1.is_tables_mysql \
431 - funcs_1.is_triggers \
432 - main.information_schema \
433 - main.mysql_client_test \
434 - main.mysqld--help-notwin \
435 - perfschema.binlog_edge_mix \
436 - perfschema.binlog_edge_stmt \
437 - rpl.rpl_plugin_load \
438 - main.mysqlhotcopy_archive main.mysqlhotcopy_myisam \
439 - ; do
440 - mysql-multilib_disable_test "$t" "False positives in Gentoo"
441 - done
442 -
443 - if ! use extraengine ; then
444 - # bug 401673, 530766
445 - for t in federated.federated_plugin ; do
446 - mysql-multilib_disable_test "$t" "Test $t requires USE=extraengine (Need federated engine)"
447 - done
448 - fi
449 -
450 - # Run mysql tests
451 - pushd "${TESTDIR}"
452 -
453 - # Set file limits higher so tests run
454 - ulimit -n 3000
455 -
456 - # run mysql-test tests
457 - perl mysql-test-run.pl --force --vardir="${T}/var-tests" \
458 - --suite-timeout=5000 --reorder
459 - retstatus_tests=$?
460 - [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
461 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
462 -
463 - popd
464 -
465 - # Cleanup is important for these testcases.
466 - pkill -9 -f "${S}/ndb" 2>/dev/null
467 - pkill -9 -f "${S}/sql" 2>/dev/null
468 -
469 - failures=""
470 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
471 - [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
472 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
473 -
474 - [[ -z "$failures" ]] || die "Test failures: $failures"
475 - einfo "Tests successfully completed"
476 -
477 - else
478 - einfo "Skipping server tests due to minimal build."
479 - fi
480 -}