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/percona-server/
Date: Fri, 29 Sep 2017 20:27:56
Message-Id: 1506716846.573bbb332ccc5a777f1f02b34c8a630e952d8bb5.grknight@gentoo
1 commit: 573bbb332ccc5a777f1f02b34c8a630e952d8bb5
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 29 20:27:26 2017 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 29 20:27:26 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=573bbb33
7
8 dev-db/percona-server: Drop security vulnerable versions (CPU JUL 2017)
9
10 Package-Manager: Portage-2.3.10, Repoman-2.3.3
11
12 dev-db/percona-server/Manifest | 3 -
13 .../percona-server-5.6.36.82.0.ebuild | 219 ---------------------
14 .../percona-server-5.6.36.82.1.ebuild | 219 ---------------------
15 3 files changed, 441 deletions(-)
16
17 diff --git a/dev-db/percona-server/Manifest b/dev-db/percona-server/Manifest
18 index c99afcce2b3..45a56a5672e 100644
19 --- a/dev-db/percona-server/Manifest
20 +++ b/dev-db/percona-server/Manifest
21 @@ -1,5 +1,2 @@
22 -DIST mysql-extras-20161130-2354Z.tar.bz2 303863 SHA256 b18ce4ccfd023106a802bcb2e17a5bc3a1ec4d99e7bf7f45d047cf18ebb9ad1b SHA512 6c24c581fd471c4ce0ff20ed68bdb32150e310a2f8f000c8bb9892ab98302127f3427165b17967da3f5663e1da5a7f1d26f84021d4cb8292cbb5e0c241505113 WHIRLPOOL de6d896474faedf1d3696e346877cb03fb9908338d66f2b901aa83a24983ec3e0ea5f7f54dfd190bdf7a55f72bb580e21ab826850018ae25629b572cbabf532d
23 DIST mysql-extras-20170820-2245Z.tar.bz2 312101 SHA256 619afb88752e461434709ed91e91c2104845a9a9ee67ac944212833f4a715ed8 SHA512 34868c8ba3509ed5e3625c973e16f5015390ca9fc656cbcdbe8f5568bc7cab3708bb7c88b1af324ebb66f86433dfee71b90adf6451556fcfc12ad4e7d32256dd WHIRLPOOL f8e08f47bb0789c25dc096c76340b1ca9db8a264d89aca816e3b45e4dd984dc9dea90554c6c114179dc972026c703404aa8521b3c93fb882d7eadd1295635fb9
24 -DIST percona-server-5.6.36-82.0.tar.gz 56116691 SHA256 4304ac45de79053128fb78f13527f483ec9cf1c9592498deeacbbe541216fc9d SHA512 c5046f212a893de2ce80afbeed3648915842d862383faf3a354a47515920016ed98b91d4bd42b77ea422b28aa9a5cb691942b031099fc893833127080e5a38b0 WHIRLPOOL 2cfa29d9cd864f5ff828553a3659ff2818589201f983be45a984474a27c625e6868a77f4a751ba0a575a79793ddcf34337f7efa95cb09e0c290c9b9cdaa9b173
25 -DIST percona-server-5.6.36-82.1.tar.gz 56190395 SHA256 bebab31321e17682bc23f0f1e95211f002ba2a24c21d9a7ce9821cbe2a1ba4ba SHA512 b604772a65cdd94d832c69a2b7984e065bef1ce3b9305c1d35c0f37513b962067f9fcb47f43172a318e55648222b7c7bd6e86fb003314ef75da3696bd2a63a21 WHIRLPOOL 88307c416f066df5a55821d2b6fa4bde98acb4e23defc661cf01a52d635f6e25e132f37a27e5748d302ade80470803aab0afca2585221870b7208edfff6aa7b0
26 DIST percona-server-5.6.37-82.2.tar.gz 56296960 SHA256 3cf04b64c8bf5b9cc1ea1a68c54ba77a4709d9c9051314e70a4cbd4c904da702 SHA512 38905c2429bee6e6ba9c35b232c87c27c414726b349ff5a878cc94bbc4a333bbf76019478f8e82a10274ffeea5ac71c4520ff534cc434c4844b496b48801ea4e WHIRLPOOL 9e3988072d00f60af467a21092cc737529bd9250ce4ebbfa20834455791a3fb093b11da8bb845bd62e3fa33ad37e63bfbda483139700bd4147e1b7be64578659
27
28 diff --git a/dev-db/percona-server/percona-server-5.6.36.82.0.ebuild b/dev-db/percona-server/percona-server-5.6.36.82.0.ebuild
29 deleted file mode 100644
30 index d80fa4c6880..00000000000
31 --- a/dev-db/percona-server/percona-server-5.6.36.82.0.ebuild
32 +++ /dev/null
33 @@ -1,219 +0,0 @@
34 -# Copyright 1999-2017 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI="6"
38 -MY_EXTRAS_VER="20161130-2354Z"
39 -SUBSLOT="18"
40 -PYTHON_COMPAT=( python2_7 )
41 -inherit linux-info python-any-r1 mysql-multilib-r1
42 -
43 -IUSE="numa pam tokudb tokudb-backup-plugin"
44 -
45 -# REMEMBER: also update eclass/mysql*.eclass before committing!
46 -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
47 -HOMEPAGE="http://www.percona.com/software/percona-server"
48 -DESCRIPTION="An enhanced, drop-in replacement for MySQL from the Percona team"
49 -
50 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
51 -EPATCH_EXCLUDE=''
52 -
53 -COMMON_DEPEND="numa? ( sys-process/numactl:= )
54 - server? ( pam? ( virtual/pam:0= ) )
55 - tokudb? ( app-arch/snappy )
56 - tokudb-backup-plugin? ( dev-util/valgrind )
57 - "
58 -
59 -DEPEND="${COMMON_DEPEND}
60 - || ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
61 - test? ( $(python_gen_any_dep 'dev-python/mysql-python[${PYTHON_USEDEP}]') )"
62 -RDEPEND="${COMMON_DEPEND}"
63 -
64 -REQUIRED_USE="tokudb-backup-plugin? ( tokudb ) tokudb? ( jemalloc !tcmalloc )"
65 -
66 -MY_PATCH_DIR="${WORKDIR}/mysql-extras-${MY_EXTRAS_VER}"
67 -
68 -PATCHES=(
69 - "${MY_PATCH_DIR}"/01050_all_mysql_config_cleanup-5.6.patch
70 - "${MY_PATCH_DIR}"/02040_all_embedded-library-shared-5.5.10.patch
71 - "${MY_PATCH_DIR}"/20001_all_fix-minimal-build-cmake-mysql-5.6.20.patch
72 - "${MY_PATCH_DIR}"/20006_all_cmake_elib-percona-5.6.34.patch
73 - "${MY_PATCH_DIR}"/20007_all_cmake-debug-werror-5.6.22.patch
74 - "${MY_PATCH_DIR}"/20008_all_mysql-tzinfo-symlink.patch
75 - "${MY_PATCH_DIR}"/20009_all_mysql_myodbc_symbol_fix-5.6.patch
76 - "${MY_PATCH_DIR}"/20018_all_percona-server-5.6.25-without-clientlibs-tools.patch
77 -)
78 -
79 -# Please do not add a naive src_unpack to this ebuild
80 -# If you want to add a single patch, copy the ebuild to an overlay
81 -# and create your own mysql-extras tarball, looking at 000_index.txt
82 -
83 -pkg_pretend() {
84 - mysql-multilib-r1_pkg_pretend
85 -
86 - if use numa; then
87 - local CONFIG_CHECK="~NUMA"
88 -
89 - local WARNING_NUMA="This package expects NUMA support in kernel which this system does not have at the moment;"
90 - WARNING_NUMA+=" Either expect runtime errors, enable NUMA support in kernel or rebuild the package without NUMA support"
91 -
92 - check_extra_config
93 - fi
94 -}
95 -
96 -python_check_deps() {
97 - has_version "dev-python/mysql-python[${PYTHON_USEDEP}]"
98 -}
99 -
100 -src_prepare() {
101 - mysql-multilib-r1_src_prepare
102 - if use libressl ; then
103 - sed -i 's/OPENSSL_MAJOR_VERSION STREQUAL "1"/OPENSSL_MAJOR_VERSION STREQUAL "2"/' \
104 - "${S}/cmake/ssl.cmake" || die
105 - fi
106 -}
107 -
108 -src_configure() {
109 - local MYSQL_CMAKE_NATIVE_DEFINES=( -DWITH_NUMA=$(usex numa)
110 - -DWITH_PAM=$(usex pam)
111 - $(mysql-cmake_use_plugin tokudb TOKUDB)
112 - )
113 - if use tokudb ; then
114 - # TokuDB Backup plugin requires valgrind unconditionally
115 - MYSQL_CMAKE_NATIVE_DEFINES+=(
116 - $(usex tokudb-backup-plugin '' -DTOKUDB_BACKUP_DISABLED=1)
117 - )
118 - fi
119 - mysql-multilib-r1_src_configure
120 -}
121 -
122 -# Official test instructions:
123 -# USE='extraengine perl openssl static-libs' \
124 -# FEATURES='test userpriv -usersandbox' \
125 -# ebuild percona-server-X.X.XX.ebuild \
126 -# digest clean package
127 -multilib_src_test() {
128 -
129 - if ! multilib_is_native_abi ; then
130 - einfo "Server tests not available on non-native abi".
131 - return 0;
132 - fi
133 -
134 - if ! use server ; then
135 - einfo "Skipping server tests due to minimal build."
136 - return 0
137 - fi
138 -
139 - local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
140 - local retstatus_unit
141 - local retstatus_tests
142 -
143 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
144 - # localhost. Also causes weird failures.
145 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
146 -
147 - if [[ $UID -eq 0 ]]; then
148 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
149 - fi
150 -
151 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
152 -
153 - # Run CTest (test-units)
154 - cmake-utils_src_test
155 - retstatus_unit=$?
156 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
157 -
158 - # Ensure that parallel runs don't die
159 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
160 - # Enable parallel testing, auto will try to detect number of cores
161 - # You may set this by hand.
162 - # The default maximum is 8 unless MTR_MAX_PARALLEL is increased
163 - export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
164 -
165 - # create directories because mysqladmin might right out of order
166 - mkdir -p "${T}"/var-tests{,/log}
167 -
168 - # These are failing in Percona 5.6 for now and are believed to be
169 - # false positives:
170 - #
171 - # main.information_schema, binlog.binlog_statement_insert_delayed,
172 - # main.mysqld--help-notwin, binlog.binlog_mysqlbinlog_filter
173 - # perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt
174 - # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers
175 - # engines/funcs.db_alter_character_set engines/funcs.db_alter_character_set_collate
176 - # engines/funcs.db_alter_collate_ascii engines/funcs.db_alter_collate_utf8
177 - # engines/funcs.db_create_character_set engines/funcs.db_create_character_set_collate
178 - # fails due to USE=-latin1 / utf8 default
179 - #
180 - # main.mysql_client_test:
181 - # segfaults at random under Portage only, suspect resource limits.
182 - #
183 - # main.percona_bug1289599
184 - # Looks to be a syntax error in the test file itself
185 - #
186 - # main.variables main.myisam main.merge_recover
187 - # fails due to ulimit not able to open enough files (needs 5000)
188 - #
189 - # main.mysqlhotcopy_archive main.mysqlhotcopy_myisam
190 - # Called with bad parameters should be reported upstream
191 - #
192 -
193 - local t
194 -
195 - for t in main.mysql_client_test \
196 - binlog.binlog_statement_insert_delayed main.information_schema \
197 - main.mysqld--help-notwin binlog.binlog_mysqlbinlog_filter \
198 - perfschema.binlog_edge_mix perfschema.binlog_edge_stmt \
199 - funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers \
200 - main.variables main.myisam main.merge_recover \
201 - engines/funcs.db_alter_character_set engines/funcs.db_alter_character_set_collate \
202 - engines/funcs.db_alter_collate_ascii engines/funcs.db_alter_collate_utf8 \
203 - engines/funcs.db_create_character_set engines/funcs.db_create_character_set_collate \
204 - main.percona_bug1289599 main.mysqlhotcopy_archive main.mysqlhotcopy_myisam ; do
205 - mysql-multilib-r1_disable_test "$t" "False positives in Gentoo"
206 - done
207 -
208 - if use numa && use kernel_linux ; then
209 - # bug 584880
210 - if ! linux_config_exists || ! linux_chkconfig_present NUMA ; then
211 - for t in sys_vars.innodb_buffer_pool_populate_basic ; do
212 - mysql-multilib-r1_disable_test "$t" "Test $t requires system with NUMA support"
213 - done
214 - fi
215 - fi
216 -
217 - if ! use extraengine ; then
218 - # bug 401673, 530766
219 - for t in federated.federated_plugin ; do
220 - mysql-multilib-r1_disable_test "$t" "Test $t requires USE=extraengine (Need federated engine)"
221 - done
222 - fi
223 -
224 - # Run mysql tests
225 - pushd "${TESTDIR}" || die
226 -
227 - # Set file limits higher so tests run
228 - ulimit -n 3000
229 - python_setup
230 - # run mysql-test tests
231 - perl mysql-test-run.pl --force --vardir="${T}/var-tests" \
232 - --testcase-timeout=30 --reorder
233 - retstatus_tests=$?
234 - [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
235 -
236 - popd || die
237 -
238 - # Cleanup is important for these testcases.
239 - pkill -9 -f "${S}/ndb" 2>/dev/null
240 - pkill -9 -f "${S}/sql" 2>/dev/null
241 -
242 - failures=""
243 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
244 - [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
245 -
246 - if [[ -n "$failures" ]]; then
247 - has usersandbox $FEATURES && eerror "Some tests may have failed due to FEATURES=usersandbox"
248 - die "Test failures: $failures"
249 - fi
250 -
251 - einfo "Tests successfully completed"
252 -}
253
254 diff --git a/dev-db/percona-server/percona-server-5.6.36.82.1.ebuild b/dev-db/percona-server/percona-server-5.6.36.82.1.ebuild
255 deleted file mode 100644
256 index d80fa4c6880..00000000000
257 --- a/dev-db/percona-server/percona-server-5.6.36.82.1.ebuild
258 +++ /dev/null
259 @@ -1,219 +0,0 @@
260 -# Copyright 1999-2017 Gentoo Foundation
261 -# Distributed under the terms of the GNU General Public License v2
262 -
263 -EAPI="6"
264 -MY_EXTRAS_VER="20161130-2354Z"
265 -SUBSLOT="18"
266 -PYTHON_COMPAT=( python2_7 )
267 -inherit linux-info python-any-r1 mysql-multilib-r1
268 -
269 -IUSE="numa pam tokudb tokudb-backup-plugin"
270 -
271 -# REMEMBER: also update eclass/mysql*.eclass before committing!
272 -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
273 -HOMEPAGE="http://www.percona.com/software/percona-server"
274 -DESCRIPTION="An enhanced, drop-in replacement for MySQL from the Percona team"
275 -
276 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
277 -EPATCH_EXCLUDE=''
278 -
279 -COMMON_DEPEND="numa? ( sys-process/numactl:= )
280 - server? ( pam? ( virtual/pam:0= ) )
281 - tokudb? ( app-arch/snappy )
282 - tokudb-backup-plugin? ( dev-util/valgrind )
283 - "
284 -
285 -DEPEND="${COMMON_DEPEND}
286 - || ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
287 - test? ( $(python_gen_any_dep 'dev-python/mysql-python[${PYTHON_USEDEP}]') )"
288 -RDEPEND="${COMMON_DEPEND}"
289 -
290 -REQUIRED_USE="tokudb-backup-plugin? ( tokudb ) tokudb? ( jemalloc !tcmalloc )"
291 -
292 -MY_PATCH_DIR="${WORKDIR}/mysql-extras-${MY_EXTRAS_VER}"
293 -
294 -PATCHES=(
295 - "${MY_PATCH_DIR}"/01050_all_mysql_config_cleanup-5.6.patch
296 - "${MY_PATCH_DIR}"/02040_all_embedded-library-shared-5.5.10.patch
297 - "${MY_PATCH_DIR}"/20001_all_fix-minimal-build-cmake-mysql-5.6.20.patch
298 - "${MY_PATCH_DIR}"/20006_all_cmake_elib-percona-5.6.34.patch
299 - "${MY_PATCH_DIR}"/20007_all_cmake-debug-werror-5.6.22.patch
300 - "${MY_PATCH_DIR}"/20008_all_mysql-tzinfo-symlink.patch
301 - "${MY_PATCH_DIR}"/20009_all_mysql_myodbc_symbol_fix-5.6.patch
302 - "${MY_PATCH_DIR}"/20018_all_percona-server-5.6.25-without-clientlibs-tools.patch
303 -)
304 -
305 -# Please do not add a naive src_unpack to this ebuild
306 -# If you want to add a single patch, copy the ebuild to an overlay
307 -# and create your own mysql-extras tarball, looking at 000_index.txt
308 -
309 -pkg_pretend() {
310 - mysql-multilib-r1_pkg_pretend
311 -
312 - if use numa; then
313 - local CONFIG_CHECK="~NUMA"
314 -
315 - local WARNING_NUMA="This package expects NUMA support in kernel which this system does not have at the moment;"
316 - WARNING_NUMA+=" Either expect runtime errors, enable NUMA support in kernel or rebuild the package without NUMA support"
317 -
318 - check_extra_config
319 - fi
320 -}
321 -
322 -python_check_deps() {
323 - has_version "dev-python/mysql-python[${PYTHON_USEDEP}]"
324 -}
325 -
326 -src_prepare() {
327 - mysql-multilib-r1_src_prepare
328 - if use libressl ; then
329 - sed -i 's/OPENSSL_MAJOR_VERSION STREQUAL "1"/OPENSSL_MAJOR_VERSION STREQUAL "2"/' \
330 - "${S}/cmake/ssl.cmake" || die
331 - fi
332 -}
333 -
334 -src_configure() {
335 - local MYSQL_CMAKE_NATIVE_DEFINES=( -DWITH_NUMA=$(usex numa)
336 - -DWITH_PAM=$(usex pam)
337 - $(mysql-cmake_use_plugin tokudb TOKUDB)
338 - )
339 - if use tokudb ; then
340 - # TokuDB Backup plugin requires valgrind unconditionally
341 - MYSQL_CMAKE_NATIVE_DEFINES+=(
342 - $(usex tokudb-backup-plugin '' -DTOKUDB_BACKUP_DISABLED=1)
343 - )
344 - fi
345 - mysql-multilib-r1_src_configure
346 -}
347 -
348 -# Official test instructions:
349 -# USE='extraengine perl openssl static-libs' \
350 -# FEATURES='test userpriv -usersandbox' \
351 -# ebuild percona-server-X.X.XX.ebuild \
352 -# digest clean package
353 -multilib_src_test() {
354 -
355 - if ! multilib_is_native_abi ; then
356 - einfo "Server tests not available on non-native abi".
357 - return 0;
358 - fi
359 -
360 - if ! use server ; then
361 - einfo "Skipping server tests due to minimal build."
362 - return 0
363 - fi
364 -
365 - local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
366 - local retstatus_unit
367 - local retstatus_tests
368 -
369 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
370 - # localhost. Also causes weird failures.
371 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
372 -
373 - if [[ $UID -eq 0 ]]; then
374 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
375 - fi
376 -
377 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
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 - # Ensure that parallel runs don't die
385 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
386 - # Enable parallel testing, auto will try to detect number of cores
387 - # You may set this by hand.
388 - # The default maximum is 8 unless MTR_MAX_PARALLEL is increased
389 - export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
390 -
391 - # create directories because mysqladmin might right out of order
392 - mkdir -p "${T}"/var-tests{,/log}
393 -
394 - # These are failing in Percona 5.6 for now and are believed to be
395 - # false positives:
396 - #
397 - # main.information_schema, binlog.binlog_statement_insert_delayed,
398 - # main.mysqld--help-notwin, binlog.binlog_mysqlbinlog_filter
399 - # perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt
400 - # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers
401 - # engines/funcs.db_alter_character_set engines/funcs.db_alter_character_set_collate
402 - # engines/funcs.db_alter_collate_ascii engines/funcs.db_alter_collate_utf8
403 - # engines/funcs.db_create_character_set engines/funcs.db_create_character_set_collate
404 - # fails due to USE=-latin1 / utf8 default
405 - #
406 - # main.mysql_client_test:
407 - # segfaults at random under Portage only, suspect resource limits.
408 - #
409 - # main.percona_bug1289599
410 - # Looks to be a syntax error in the test file itself
411 - #
412 - # main.variables main.myisam main.merge_recover
413 - # fails due to ulimit not able to open enough files (needs 5000)
414 - #
415 - # main.mysqlhotcopy_archive main.mysqlhotcopy_myisam
416 - # Called with bad parameters should be reported upstream
417 - #
418 -
419 - local t
420 -
421 - for t in main.mysql_client_test \
422 - binlog.binlog_statement_insert_delayed main.information_schema \
423 - main.mysqld--help-notwin binlog.binlog_mysqlbinlog_filter \
424 - perfschema.binlog_edge_mix perfschema.binlog_edge_stmt \
425 - funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers \
426 - main.variables main.myisam main.merge_recover \
427 - engines/funcs.db_alter_character_set engines/funcs.db_alter_character_set_collate \
428 - engines/funcs.db_alter_collate_ascii engines/funcs.db_alter_collate_utf8 \
429 - engines/funcs.db_create_character_set engines/funcs.db_create_character_set_collate \
430 - main.percona_bug1289599 main.mysqlhotcopy_archive main.mysqlhotcopy_myisam ; do
431 - mysql-multilib-r1_disable_test "$t" "False positives in Gentoo"
432 - done
433 -
434 - if use numa && use kernel_linux ; then
435 - # bug 584880
436 - if ! linux_config_exists || ! linux_chkconfig_present NUMA ; then
437 - for t in sys_vars.innodb_buffer_pool_populate_basic ; do
438 - mysql-multilib-r1_disable_test "$t" "Test $t requires system with NUMA support"
439 - done
440 - fi
441 - fi
442 -
443 - if ! use extraengine ; then
444 - # bug 401673, 530766
445 - for t in federated.federated_plugin ; do
446 - mysql-multilib-r1_disable_test "$t" "Test $t requires USE=extraengine (Need federated engine)"
447 - done
448 - fi
449 -
450 - # Run mysql tests
451 - pushd "${TESTDIR}" || die
452 -
453 - # Set file limits higher so tests run
454 - ulimit -n 3000
455 - python_setup
456 - # run mysql-test tests
457 - perl mysql-test-run.pl --force --vardir="${T}/var-tests" \
458 - --testcase-timeout=30 --reorder
459 - retstatus_tests=$?
460 - [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
461 -
462 - popd || die
463 -
464 - # Cleanup is important for these testcases.
465 - pkill -9 -f "${S}/ndb" 2>/dev/null
466 - pkill -9 -f "${S}/sql" 2>/dev/null
467 -
468 - failures=""
469 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
470 - [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
471 -
472 - if [[ -n "$failures" ]]; then
473 - has usersandbox $FEATURES && eerror "Some tests may have failed due to FEATURES=usersandbox"
474 - die "Test failures: $failures"
475 - fi
476 -
477 - einfo "Tests successfully completed"
478 -}