1 |
robbat2 12/11/02 00:04:36 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: mysql-5.5.28.ebuild mysql-5.1.66.ebuild |
5 |
Log: |
6 |
Bring in 5.1.66 and 5.5.28 from the overlay. |
7 |
|
8 |
(Portage version: 2.2.0_alpha121/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.17 dev-db/mysql/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/metadata.xml?rev=1.17&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/metadata.xml?rev=1.17&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/metadata.xml?r1=1.16&r2=1.17 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/mysql/metadata.xml,v |
20 |
retrieving revision 1.16 |
21 |
retrieving revision 1.17 |
22 |
diff -p -w -b -B -u -u -r1.16 -r1.17 |
23 |
--- metadata.xml 21 Apr 2012 20:25:04 -0000 1.16 |
24 |
+++ metadata.xml 2 Nov 2012 00:04:36 -0000 1.17 |
25 |
@@ -13,6 +13,7 @@ dev-db/mariadb |
26 |
<flag name='community'>Enables the community features from upstream.</flag> |
27 |
<flag name='embedded'>Build embedded server (libmysqld)</flag> |
28 |
<flag name='extraengine'>Add support for alternative storage engines (Archive, CSV, Blackhole, Federated(X), Partition)</flag> |
29 |
+ <flag name="jemalloc">Use <pkg>dev-libs/jemalloc</pkg> for allocations.</flag> |
30 |
<flag name='latin1'>Use LATIN1 encoding instead of UTF8</flag> |
31 |
<flag name='max-idx-128'>Raise the max index per table limit from 64 to 128</flag> |
32 |
<flag name='minimal'>Install client programs only, no server</flag> |
33 |
|
34 |
|
35 |
|
36 |
1.620 dev-db/mysql/ChangeLog |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/ChangeLog?rev=1.620&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/ChangeLog?rev=1.620&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/ChangeLog?r1=1.619&r2=1.620 |
41 |
|
42 |
Index: ChangeLog |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v |
45 |
retrieving revision 1.619 |
46 |
retrieving revision 1.620 |
47 |
diff -p -w -b -B -u -u -r1.619 -r1.620 |
48 |
--- ChangeLog 26 May 2012 17:06:45 -0000 1.619 |
49 |
+++ ChangeLog 2 Nov 2012 00:04:36 -0000 1.620 |
50 |
@@ -1,6 +1,13 @@ |
51 |
# ChangeLog for dev-db/mysql |
52 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v 1.619 2012/05/26 17:06:45 armin76 Exp $ |
54 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v 1.620 2012/11/02 00:04:36 robbat2 Exp $ |
55 |
+ |
56 |
+*mysql-5.1.66 (02 Nov 2012) |
57 |
+*mysql-5.5.28 (02 Nov 2012) |
58 |
+ |
59 |
+ 02 Nov 2012; Robin H. Johnson <robbat2@g.o> +mysql-5.1.66.ebuild, |
60 |
+ +mysql-5.5.28.ebuild, metadata.xml: |
61 |
+ Bring in 5.1.66 and 5.5.28 from the overlay. |
62 |
|
63 |
26 May 2012; Raúl Porcel <armin76@g.o> mysql-5.1.62-r1.ebuild: |
64 |
ia64/s390/sh/sparc stable wrt #412889 |
65 |
|
66 |
|
67 |
|
68 |
1.1 dev-db/mysql/mysql-5.5.28.ebuild |
69 |
|
70 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/mysql-5.5.28.ebuild?rev=1.1&view=markup |
71 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/mysql-5.5.28.ebuild?rev=1.1&content-type=text/plain |
72 |
|
73 |
Index: mysql-5.5.28.ebuild |
74 |
=================================================================== |
75 |
# Copyright 1999-2012 Gentoo Foundation |
76 |
# Distributed under the terms of the GNU General Public License v2 |
77 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.5.28.ebuild,v 1.1 2012/11/02 00:04:36 robbat2 Exp $ |
78 |
|
79 |
EAPI="4" |
80 |
|
81 |
MY_EXTRAS_VER="20120401-2131Z" |
82 |
MY_PV="${PV//_alpha_pre/-m}" |
83 |
MY_PV="${MY_PV//_/-}" |
84 |
|
85 |
# Build type |
86 |
BUILD="cmake" |
87 |
|
88 |
inherit toolchain-funcs mysql-v2 |
89 |
# only to make repoman happy. it is really set in the eclass |
90 |
IUSE="$IUSE" |
91 |
|
92 |
# Define the mysql-extras source |
93 |
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git" |
94 |
|
95 |
# REMEMBER: also update eclass/mysql*.eclass before committing! |
96 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
97 |
|
98 |
# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
99 |
EPATCH_EXCLUDE='' |
100 |
|
101 |
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" |
102 |
RDEPEND="${RDEPEND}" |
103 |
|
104 |
# Please do not add a naive src_unpack to this ebuild |
105 |
# If you want to add a single patch, copy the ebuild to an overlay |
106 |
# and create your own mysql-extras tarball, looking at 000_index.txt |
107 |
|
108 |
# Official test instructions: |
109 |
# USE='berkdb -cluster embedded extraengine perl ssl community' \ |
110 |
# FEATURES='test userpriv -usersandbox' \ |
111 |
# ebuild mysql-X.X.XX.ebuild \ |
112 |
# digest clean package |
113 |
src_test() { |
114 |
|
115 |
local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test" |
116 |
local retstatus_unit |
117 |
local retstatus_tests |
118 |
|
119 |
# Bug #213475 - MySQL _will_ object strenously if your machine is named |
120 |
# localhost. Also causes weird failures. |
121 |
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
122 |
|
123 |
if ! use "minimal" ; then |
124 |
|
125 |
if [[ $UID -eq 0 ]]; then |
126 |
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
127 |
fi |
128 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
129 |
|
130 |
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
131 |
addpredict /this-dir-does-not-exist/t9.MYI |
132 |
|
133 |
# Run CTest (test-units) |
134 |
cmake-utils_src_test |
135 |
retstatus_unit=$? |
136 |
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
137 |
|
138 |
# Ensure that parallel runs don't die |
139 |
export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
140 |
|
141 |
# create directories because mysqladmin might right out of order |
142 |
mkdir -p "${S}"/mysql-test/var-{tests}{,/log} |
143 |
|
144 |
# These are failing in MySQL 5.5 for now and are believed to be |
145 |
# false positives: |
146 |
# |
147 |
# main.information_schema, binlog.binlog_statement_insert_delayed, |
148 |
# main.mysqld--help-notwin |
149 |
# fails due to USE=-latin1 / utf8 default |
150 |
# |
151 |
# main.mysql_client_test: |
152 |
# segfaults at random under Portage only, suspect resource limits. |
153 |
# |
154 |
# sys_vars.plugin_dir_basic |
155 |
# fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin |
156 |
# instead of MYSQL_LIBDIR/plugin |
157 |
# |
158 |
# main.flush_read_lock_kill |
159 |
# fails because of unknown system variable 'DEBUG_SYNC' |
160 |
# |
161 |
# main.openssl_1 |
162 |
# error message changing |
163 |
# -mysqltest: Could not open connection 'default': 2026 SSL connection |
164 |
# error: ASN: bad other signature confirmation |
165 |
# +mysqltest: Could not open connection 'default': 2026 SSL connection |
166 |
# error: error:00000001:lib(0):func(0):reason(1) |
167 |
# |
168 |
|
169 |
for t in main.mysql_client_test \ |
170 |
binlog.binlog_statement_insert_delayed main.information_schema \ |
171 |
main.mysqld--help-notwin main.flush_read_lock_kill \ |
172 |
sys_vars.plugin_dir_basic main.openssl_1 ; do |
173 |
mysql-v2_disable_test "$t" "False positives in Gentoo" |
174 |
done |
175 |
|
176 |
# Run mysql tests |
177 |
pushd "${TESTDIR}" |
178 |
|
179 |
# run mysql-test tests |
180 |
perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests" |
181 |
retstatus_tests=$? |
182 |
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
183 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
184 |
|
185 |
popd |
186 |
|
187 |
# Cleanup is important for these testcases. |
188 |
pkill -9 -f "${S}/ndb" 2>/dev/null |
189 |
pkill -9 -f "${S}/sql" 2>/dev/null |
190 |
|
191 |
failures="" |
192 |
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
193 |
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
194 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
195 |
|
196 |
[[ -z "$failures" ]] || die "Test failures: $failures" |
197 |
einfo "Tests successfully completed" |
198 |
|
199 |
else |
200 |
|
201 |
einfo "Skipping server tests due to minimal build." |
202 |
fi |
203 |
} |
204 |
|
205 |
|
206 |
|
207 |
1.1 dev-db/mysql/mysql-5.1.66.ebuild |
208 |
|
209 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/mysql-5.1.66.ebuild?rev=1.1&view=markup |
210 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/mysql-5.1.66.ebuild?rev=1.1&content-type=text/plain |
211 |
|
212 |
Index: mysql-5.1.66.ebuild |
213 |
=================================================================== |
214 |
# Copyright 1999-2012 Gentoo Foundation |
215 |
# Distributed under the terms of the GNU General Public License v2 |
216 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.66.ebuild,v 1.1 2012/11/02 00:04:36 robbat2 Exp $ |
217 |
|
218 |
EAPI="4" |
219 |
|
220 |
MY_EXTRAS_VER="20121101-2319Z" |
221 |
# PBXT |
222 |
PBXT_VERSION='1.0.11-6-pre-ga' |
223 |
# XtraDB |
224 |
PERCONA_VER='5.1.45-10' XTRADB_VER='1.0.6-10' |
225 |
|
226 |
# Build type |
227 |
BUILD="autotools" |
228 |
|
229 |
inherit toolchain-funcs mysql-v2 |
230 |
|
231 |
# only to make repoman happy. it is really set in the eclass |
232 |
IUSE="$IUSE" |
233 |
|
234 |
# REMEMBER: also update eclass/mysql*.eclass before committing! |
235 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-solaris" |
236 |
|
237 |
# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
238 |
# This is often broken still |
239 |
EPATCH_EXCLUDE='' |
240 |
|
241 |
# Most of these are in the eclass |
242 |
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 ) |
243 |
>=sys-devel/libtool-2.2.10" |
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 |
src_prepare() { |
250 |
sed -i \ |
251 |
-e '/^noinst_PROGRAMS/s/basic-t//g' \ |
252 |
"${S}"/unittest/mytap/t/Makefile.am |
253 |
mysql-v2_src_prepare |
254 |
} |
255 |
|
256 |
# Official test instructions: |
257 |
# USE='berkdb -cluster embedded extraengine perl ssl community' \ |
258 |
# FEATURES='test userpriv -usersandbox' \ |
259 |
# ebuild mysql-X.X.XX.ebuild \ |
260 |
# digest clean package |
261 |
src_test() { |
262 |
# Bug #213475 - MySQL _will_ object strenously if your machine is named |
263 |
# localhost. Also causes weird failures. |
264 |
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
265 |
|
266 |
emake check || die "make check failed" |
267 |
if ! use "minimal" ; then |
268 |
if [[ $UID -eq 0 ]]; then |
269 |
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
270 |
fi |
271 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
272 |
cd "${S}" |
273 |
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
274 |
local retstatus_unit |
275 |
local retstatus_ns |
276 |
local retstatus_ps |
277 |
local t |
278 |
addpredict /this-dir-does-not-exist/t9.MYI |
279 |
|
280 |
# Ensure that parallel runs don't die |
281 |
export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
282 |
|
283 |
# archive_gis really sucks a lot, but it's only relevant for the |
284 |
# USE=extraengines case |
285 |
case ${PV} in |
286 |
5.0.42) |
287 |
mysql-v2_disable_test "archive_gis" "Totally broken in 5.0.42" |
288 |
;; |
289 |
|
290 |
5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87) |
291 |
[ "$(tc-endian)" == "big" ] && \ |
292 |
mysql-v2_disable_test \ |
293 |
"archive_gis" \ |
294 |
"Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only" |
295 |
;; |
296 |
esac |
297 |
|
298 |
# This was a slight testcase breakage when the read_only security issue |
299 |
# was fixed. |
300 |
case ${PV} in |
301 |
5.0.54|5.0.51*) |
302 |
mysql-v2_disable_test \ |
303 |
"read_only" \ |
304 |
"Broken in 5.0.51-54, output in wrong order" |
305 |
;; |
306 |
esac |
307 |
|
308 |
# Ditto to read_only |
309 |
[ "${PV}" == "5.0.51a" ] && \ |
310 |
mysql-v2_disable_test \ |
311 |
"view" \ |
312 |
"Broken in 5.0.51, output in wrong order" |
313 |
|
314 |
# x86-specific, OOM issue with some subselects on low memory servers |
315 |
[ "${PV}" == "5.0.54" ] && \ |
316 |
[ "${ARCH/x86}" != "${ARCH}" ] && \ |
317 |
mysql-v2_disable_test \ |
318 |
"subselect" \ |
319 |
"Testcase needs tuning on x86 for oom condition" |
320 |
|
321 |
# Broke with the YaSSL security issue that didn't affect Gentoo. |
322 |
[ "${PV}" == "5.0.56" ] && \ |
323 |
for t in openssl_1 rpl_openssl rpl_ssl ssl \ |
324 |
ssl_8k_key ssl_compress ssl_connect ; do \ |
325 |
mysql-v2_disable_test \ |
326 |
"$t" \ |
327 |
"OpenSSL tests broken on 5.0.56" |
328 |
done |
329 |
|
330 |
# New test was broken in first time |
331 |
# Upstream bug 41066 |
332 |
# http://bugs.mysql.com/bug.php?id=41066 |
333 |
[ "${PV}" == "5.0.72" ] && \ |
334 |
mysql-v2_disable_test \ |
335 |
"status2" \ |
336 |
"Broken in 5.0.72, new test is broken, upstream bug #41066" |
337 |
|
338 |
# The entire 5.0 series has pre-generated SSL certificates, they have |
339 |
# mostly expired now. ${S}/mysql-tests/std-data/*.pem |
340 |
# The certs really SHOULD be generated for the tests, so that they are |
341 |
# not expiring like this. We cannot do so ourselves as the tests look |
342 |
# closely as the cert path data, and we do not have the CA key to regen |
343 |
# ourselves. Alternatively, upstream should generate them with at least |
344 |
# 50-year validity. |
345 |
# |
346 |
# Known expiry points: |
347 |
# 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09 |
348 |
# 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27 |
349 |
# 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28 |
350 |
# |
351 |
# mysql-test/std_data/untrusted-cacert.pem is MEANT to be |
352 |
# expired/invalid. |
353 |
case ${PV} in |
354 |
5.0.*|5.1.*|5.4.*|5.5.*) |
355 |
for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_key \ |
356 |
ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \ |
357 |
mysql-v2_disable_test \ |
358 |
"$t" \ |
359 |
"These OpenSSL tests break due to expired certificates" |
360 |
done |
361 |
;; |
362 |
esac |
363 |
|
364 |
# These are also failing in MySQL 5.1 for now, and are believed to be |
365 |
# false positives: |
366 |
# |
367 |
# main.mysql_comment, main.mysql_upgrade, main.information_schema, |
368 |
# funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers: |
369 |
# fails due to USE=-latin1 / utf8 default |
370 |
# |
371 |
# main.mysql_client_test: |
372 |
# segfaults at random under Portage only, suspect resource limits. |
373 |
# |
374 |
# main.not_partition: |
375 |
# Failure reason unknown at this time, must resolve before package.mask |
376 |
# removal FIXME |
377 |
case ${PV} in |
378 |
5.1.*|5.4.*|5.5.*) |
379 |
for t in main.mysql_client_test main.mysql_comments \ |
380 |
main.mysql_upgrade \ |
381 |
main.information_schema \ |
382 |
main.not_partition funcs_1.is_columns_mysql \ |
383 |
funcs_1.is_tables_mysql funcs_1.is_triggers; do |
384 |
mysql-v2_disable_test "$t" "False positives in Gentoo" |
385 |
done |
386 |
;; |
387 |
esac |
388 |
|
389 |
# New failures in 5.1.50/5.1.51, reported by jmbsvicetto. |
390 |
# These tests are picking up a 'connect-timeout' config from somewhere, |
391 |
# which is not valid, and since it does not have 'loose-' in front of |
392 |
# it, it's causing a failure |
393 |
case ${PV} in |
394 |
5.1.5*|5.4.*|5.5.*|6*) |
395 |
for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do |
396 |
mysql-v2_disable_test "$t" \ |
397 |
"False positives in Gentoo: connect-timeout" |
398 |
done |
399 |
;; |
400 |
esac |
401 |
|
402 |
use profiling && use community \ |
403 |
|| mysql-v2_disable_test main.profiling \ |
404 |
"Profiling test needs profiling support" |
405 |
|
406 |
if [ "${PN}" == "mariadb" ]; then |
407 |
for t in \ |
408 |
parts.part_supported_sql_func_ndb \ |
409 |
parts.partition_auto_increment_ndb ; do |
410 |
mysql-v2_disable_test $t "ndb not supported in mariadb" |
411 |
done |
412 |
fi |
413 |
|
414 |
# This fail with XtraDB in place of normal InnoDB |
415 |
# TODO: test if they are broken with the rest of the Percona patches |
416 |
if xtradb_patch_available && use xtradb ; then |
417 |
for t in main.innodb innodb.innodb_bug51378 \ |
418 |
main.information_schema_db main.mysqlshow \ |
419 |
main.innodb-autoinc main.innodb_bug21704 \ |
420 |
main.innodb_bug44369 main.innodb_bug46000 \ |
421 |
main.index_merge_innodb \ |
422 |
innodb.innodb innodb.innodb_misc1 innodb.innodb_bug52663 \ |
423 |
innodb.innodb-autoinc innodb.innodb-autoinc-44030 \ |
424 |
innodb.innodb_bug21704 innodb.innodb_bug44369 \ |
425 |
innodb.innodb_bug46000 innodb.innodb_bug48024 \ |
426 |
innodb.innodb_bug49164 innodb.innodb_bug51920 \ |
427 |
innodb.innodb_bug54044 \ |
428 |
; do |
429 |
mysql-v2_disable_test $t "tests broken in xtradb" |
430 |
done |
431 |
fi |
432 |
|
433 |
if ! use extraengine ; then |
434 |
# bug 332565 |
435 |
for t in main.range ; do |
436 |
mysql-v2_disable_test $t "Test $t requires USE=extraengine" |
437 |
done |
438 |
# bug 401673 |
439 |
for t in federated.federated_plugin ; do |
440 |
mysql-v2_disable_test $t "Test $t requires USE=extraengine (Need federated engine)" |
441 |
done |
442 |
fi |
443 |
|
444 |
# create directories because mysqladmin might make out of order |
445 |
mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log} |
446 |
|
447 |
# We run the test protocols seperately |
448 |
emake test-unit |
449 |
retstatus_unit=$? |
450 |
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
451 |
|
452 |
emake test-ns force="--force --vardir=${S}/mysql-test/var-ns" |
453 |
retstatus_ns=$? |
454 |
[[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed" |
455 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
456 |
|
457 |
emake test-ps force="--force --vardir=${S}/mysql-test/var-ps" |
458 |
retstatus_ps=$? |
459 |
[[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed" |
460 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
461 |
|
462 |
# TODO: |
463 |
# When upstream enables the pr and nr testsuites, we need those as well. |
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 |
failures="" |
469 |
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
470 |
[[ $retstatus_ns -eq 0 ]] || failures="${failures} test-ns" |
471 |
[[ $retstatus_ps -eq 0 ]] || failures="${failures} test-ps" |
472 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
473 |
[[ -z "$failures" ]] || die "Test failures: $failures" |
474 |
einfo "Tests successfully completed" |
475 |
else |
476 |
einfo "Skipping server tests due to minimal build." |
477 |
fi |
478 |
} |