1 |
commit: 86eae7c33332030fe017296b6b2cdc260efdc065 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 28 19:54:02 2018 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 28 19:54:02 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/mysql.git/commit/?id=86eae7c3 |
7 |
|
8 |
dev-db/percona-server: Drop old versions |
9 |
|
10 |
Package-Manager: Portage-2.3.26, Repoman-2.3.7 |
11 |
Manifest-Sign-Key: D1F781EFF9F4A3B6 |
12 |
|
13 |
dev-db/percona-server/ChangeLog | 18 -- |
14 |
dev-db/percona-server/Manifest | 29 +++- |
15 |
dev-db/percona-server/metadata.xml | 4 - |
16 |
.../percona-server-5.6.26.74.0.ebuild | 156 ----------------- |
17 |
.../percona-server-5.6.27.75.0-r1.ebuild | 167 ------------------- |
18 |
.../percona-server-5.6.27.76.0.ebuild | 172 ------------------- |
19 |
.../percona-server-5.6.29.76.2.ebuild | 185 --------------------- |
20 |
7 files changed, 22 insertions(+), 709 deletions(-) |
21 |
|
22 |
diff --git a/dev-db/percona-server/ChangeLog b/dev-db/percona-server/ChangeLog |
23 |
deleted file mode 100644 |
24 |
index 8b1a004..0000000 |
25 |
--- a/dev-db/percona-server/ChangeLog |
26 |
+++ /dev/null |
27 |
@@ -1,18 +0,0 @@ |
28 |
-*percona-server-5.6.29.76.2 (09 Mar 2016) |
29 |
- |
30 |
- 09 Mar 2016; Brian Evans <grknight@g.o> |
31 |
- +percona-server-5.6.29.76.2.ebuild: |
32 |
- dev-db/percona-server: Version bump for 5.6.29 |
33 |
- |
34 |
-*percona-server-5.6.27.76.0 (22 Dec 2015) |
35 |
- |
36 |
- 22 Dec 2015; Brian Evans <grknight@g.o> |
37 |
- +percona-server-5.6.27.76.0.ebuild: |
38 |
- dev-db/percona-server: Version bump |
39 |
- |
40 |
-*percona-server-5.6.24.72.2 (11 May 2015) |
41 |
- |
42 |
- 11 May 2015; Brian Evans <grknight@g.o> |
43 |
- +percona-server-5.6.24.72.2.ebuild, -percona-server-5.6.22.71.0.ebuild, |
44 |
- -percona-server-5.6.22.72.0.ebuild: |
45 |
- [percona-server] Security version bump; drop vulnerable versions |
46 |
|
47 |
diff --git a/dev-db/percona-server/Manifest b/dev-db/percona-server/Manifest |
48 |
index 52dad70..9d4c986 100644 |
49 |
--- a/dev-db/percona-server/Manifest |
50 |
+++ b/dev-db/percona-server/Manifest |
51 |
@@ -1,9 +1,24 @@ |
52 |
-DIST mysql-extras-20150717-1707Z.tar.bz2 1491956 SHA256 d67cc1e2c581ab7c57122b7d29864643869799893a95a158a18e14201d4ffc10 SHA512 3a7cb07773099e766f8e796d4e555d42874b85285cc2c7c60220370cc6aafc36a60eb340008637298d85d83f529e73392895a81c1438ffccff9eb8f354b29ba9 WHIRLPOOL 11e75f4b696e2547c1da40e69d8ab75df4bf7080426204c040632f24846407b07d71061c09c4ff4a1d21a9d14a94769d8f8ef62421d0aecd99efe832caf4dd22 |
53 |
-DIST mysql-extras-20151105-2051Z.tar.bz2 1490187 SHA256 129d79c2064b08b0afad69e04e27991bf4103c20ccea39c133239b1dd822a49f SHA512 af34a44275b06c1626eb5952b3643b5663b8a1fb1d9ff18a67d51c02daaa51c4476df407d38ab607cc41842b47e5dd7b4cef8ae380a41eb80923df8052b9e521 WHIRLPOOL 01702ca4e2033fbc70db3ab2dd166b2e31072ea0f6bdd42d00c27ae0c0afab5c8451c4dcc90cce6d46f9ea056017e273f7c719e1cfabf969293bdcd15241f5b3 |
54 |
-DIST mysql-extras-20160307-1854Z.tar.bz2 298005 SHA256 a6516841d24670a1802e28fd66d4f540b16367396e6b2f687b8429b8e6a5d865 SHA512 d90081bd910dfffe6e1ac250465c0dbd9968edbdfe08f25f213ec328028fbb6fdb016816846c7fcee9202b9b93f4868edaff44ee04a0554cc93c6ecbf088db8f WHIRLPOOL f971804db83f42d717da318deeb647c1b294fa0967db7073e7f83d0fa15476d68089201430aaa882d90d5223a41a1a1668cfbe82bb897dcf864925e3da715c10 |
55 |
+-----BEGIN PGP SIGNED MESSAGE----- |
56 |
+Hash: SHA256 |
57 |
+ |
58 |
DIST mysql-extras-20180312-2011Z.tar.bz2 319047 SHA256 5d83747593b2276ecaf253b193814df2bfe170de57ceb7565e3d9f215df92254 SHA512 b0aa9fc8fbc050451ef147cee99b00cf10d34a71641837821e78655241f7d79a94fe2efb4cef9a23fe9741e08ada2fc0b58ef3b3663752bc567babfbcaa547c8 WHIRLPOOL 29085d38c285e62fa5925e70e01fda98ce5582e660b84fa09992049b5c222d1c14e73b94c63cb754bd94df00ce154b24ea5d4ee472de1766b6941cb05503c493 |
59 |
-DIST percona-server-5.6.26-74.0.tar.gz 54819177 SHA256 9156038d84bd1190a5b5df963877876584d30bd515ba3ad39e65a532430c1608 SHA512 1874b5e5d40da3ba6a9ea5bf15b7b851b4c067edf3cbca4139c078536000010acaecb8ee94933f5c4482ea091967a30f042b3bd08bef5e3716cae0be8607410e WHIRLPOOL fd8d712d3ed1a785ad455d9d83f537303ad9b58d0562cf73adaba71527ab42513e0682b568aced5601b419e738f9d904d09bb37f387feaa42944795461e96b8e |
60 |
-DIST percona-server-5.6.27-75.0.tar.gz 54907367 SHA256 7dc4a4efadaee25e11fd78838f4ad2c0d7921ac9cc3b95068626f918c0add8d7 SHA512 c58fe18e3af7c88d9a3269c0b6a20c367bc80af6b3c1ab072fb380787f6b0ad44c8471134e366b7a9572fc4d16a4260d81a26f384aadab4bca99efcf521d3201 WHIRLPOOL 403a7efdbfb8bdaa5cecf72930be351b8762f17ce7166dffcff307e86a69f742546c85ff5badefab182dd001080ed49e71d2d5d587b74801cc22ccba682ac418 |
61 |
-DIST percona-server-5.6.27-76.0.tar.gz 54946650 SHA256 36d5c1c9a94712874b4d6e12c7e48d1f13c1fffb0ff976bc93aedbb4f73a0fef SHA512 64e2b1643bb06aefd59a1e1caddd31931b4b39ce5cd575ec3ec92f8c824887d112aa17573b10d596996579088c34e729eed83c37d63dd8cbef6755f0c0086805 WHIRLPOOL b203ba373ce312c1e10f0f96ba0fe8722ddc29c218bd075539f868426ad20c4d02c2307756c98fd2c7e21b45398d92c1b2b5145218b503bb0962bcafd908de12 |
62 |
-DIST percona-server-5.6.29-76.2.tar.gz 55032788 SHA256 23217feafc92222f313aeeb6e1806d110c35e50cf0b5f74510a9f8babe22e4b9 SHA512 0765ba02dcceaa3e4cb8f1b7261982f66ea5a14982723a9eb0a47177d03c18ffb3e647f10736780f6312dccb23f082ebcdd1f6330f9bf08ec714e43bf9fb4e57 WHIRLPOOL 8d719fbf0ec5ac4e0e80c40140bbf9a796c4ef1cb3ef1d0f8b92d14385c7e1af49063f0f176ab57e86a31d9729224354a3f72d331330d1a4907d41d6ab5fd92d |
63 |
DIST percona-server-5.6.39-83.1.tar.gz 56307662 SHA256 48939062738cd5e7769381e31ec581492317ff48c19d0b7ce362e0e61b5d01e2 SHA512 d014bc0ebf8d8f1842b4a79eb0a868e3c9e0e33d3eb3cbf301b5504dcb341e1f2a0d6c2c4003666f59fbf75eb274356ee6b059ff2cddf2b457143ee5e1aba471 WHIRLPOOL 505b784cec2ef81e9bb82c73efb9ae465463b93e465ba6b4e2ec21f55d310acea4b4203dcba8a7e39ad0c8d4060a94c9eab6a26f5f4bed1024e1a81212246783 |
64 |
+-----BEGIN PGP SIGNATURE----- |
65 |
+Version: GnuPG v2 |
66 |
+ |
67 |
+iQKTBAEBCAB9FiEEZsLkTtkOMnWOfVXA0feB7/n0o7YFAlq78tlfFIAAAAAALgAo |
68 |
+aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDY2 |
69 |
+QzJFNDRFRDkwRTMyNzU4RTdENTVDMEQxRjc4MUVGRjlGNEEzQjYACgkQ0feB7/n0 |
70 |
+o7YObQ//czIaC6V6fDr/k1phFto282lp04HFJkt2xRO2eKoIuGZMx9Q387Lx3pkN |
71 |
+HYJ12tUzAHXwoFGFHnFyi4KM4l3lr35oiNWbsDhov6mpkFh5NBerBeC7sVw4R0wF |
72 |
+n620tlgSU7i3YmA8iH2ZXoSfg4nud1cA4KKziZiHWFs3LNOe0XX2IssUuisWRLbF |
73 |
+Ki4jpP9HwK/LV1DqZm7KtFKzUUxhkfKWh2Y7ZNGV+u/q09r+GKdwEhZX0j+lz8Cq |
74 |
+Pau8wTFbQMFRAlu3Ei4lwL2jmjClg48V7q90nuyvDnqXsboQUBBmXfXIoAQhrOpM |
75 |
+OgExtfgjvljHRj6z5oaqvkeWoOY9qgh8+5dcNNadZZXNYnxGlAy0+ennrHeImZQ6 |
76 |
+IbPxpytFvFY7Ak1VLvyUnv6JeIKNWkEHCyiYFUN/HGvr/7RhtIic2Na/wbF7YpVr |
77 |
+yzaMbLecQ3L3i7ZqY8zNdgrG/4WJoIPMCJbZ7xcQaG18LGmF5c3WtbwZR7TDFwc5 |
78 |
+l8ub/UH23Ds9BSpjmt7Hqcs2qKKsal2Jb3sazakDkPpqgBkuawp6g7jCpRQ2AdR1 |
79 |
+Rz7R/9G95EbPuc+28wGm8wVSinbfwGUUMjO7Td+k2MX4LMvbq89qaPWd9PiTY1sz |
80 |
+Wo6Ss7b5GDv87BDdFtrsSEt9UD0jGR5oOYRA05NAeNRChXg2yfU= |
81 |
+=ErVg |
82 |
+-----END PGP SIGNATURE----- |
83 |
|
84 |
diff --git a/dev-db/percona-server/metadata.xml b/dev-db/percona-server/metadata.xml |
85 |
index fc692a4..0e3879e 100644 |
86 |
--- a/dev-db/percona-server/metadata.xml |
87 |
+++ b/dev-db/percona-server/metadata.xml |
88 |
@@ -11,13 +11,10 @@ |
89 |
</maintainer> |
90 |
<use> |
91 |
<flag name="client-libs">Build the libmysqlclient libraries</flag> |
92 |
- <flag name="embedded">Build embedded server (libmysqld)</flag> |
93 |
- <flag name="extraengine">Add support for alternative storage engines (Archive, CSV, Blackhole, Federated(X), Partition)</flag> |
94 |
<flag name="jemalloc">Use <pkg>dev-libs/jemalloc</pkg> for allocations.</flag> |
95 |
<flag name="latin1">Use LATIN1 encoding instead of UTF8</flag> |
96 |
<flag name="libressl">Enable SSL connections and crypto functions using <pkg>dev-libs/libressl</pkg></flag> |
97 |
<flag name="numa">Enable NUMA support using <pkg>sys-process/numactl</pkg> (NUMA kernel support is also required)</flag> |
98 |
- <flag name="openssl">Enable SSL connections and crypto functions using <pkg>dev-libs/openssl</pkg></flag> |
99 |
<flag name="profiling">Add support for statement profiling (requires USE=community).</flag> |
100 |
<flag name="rocksdb">Add support for RocksDB; a key/value, LSM database optimized for flash storage</flag> |
101 |
<flag name="server">Build the server program</flag> |
102 |
@@ -25,7 +22,6 @@ |
103 |
<flag name="test">Install upstream testsuites for end use.</flag> |
104 |
<flag name="tokudb">Add support for TokuDB storage engine</flag> |
105 |
<flag name="tokudb-backup-plugin">Builds the TokuDB backup plugin</flag> |
106 |
- <flag name="tools">Build the command line tools (mysql, mysqldump, mysqladmin, etc)</flag> |
107 |
<flag name="yassl">Enable SSL connections and crypto functions using the bundled yaSSL</flag> |
108 |
</use> |
109 |
</pkgmetadata> |
110 |
|
111 |
diff --git a/dev-db/percona-server/percona-server-5.6.26.74.0.ebuild b/dev-db/percona-server/percona-server-5.6.26.74.0.ebuild |
112 |
deleted file mode 100644 |
113 |
index 3869d4d..0000000 |
114 |
--- a/dev-db/percona-server/percona-server-5.6.26.74.0.ebuild |
115 |
+++ /dev/null |
116 |
@@ -1,156 +0,0 @@ |
117 |
-# Copyright 1999-2018 Gentoo Foundation |
118 |
-# Distributed under the terms of the GNU General Public License v2 |
119 |
- |
120 |
-EAPI="5" |
121 |
-MY_EXTRAS_VER="20150717-1707Z" |
122 |
-HAS_TOOLS_PATCH="1" |
123 |
-SUBSLOT="18" |
124 |
-PYTHON_COMPAT=( python2_7 ) |
125 |
-inherit toolchain-funcs python-any-r1 mysql-multilib |
126 |
-# only to make repoman happy. it is really set in the eclass |
127 |
-IUSE="$IUSE tokudb tokudb-backup-plugin" |
128 |
- |
129 |
-# REMEMBER: also update eclass/mysql*.eclass before committing! |
130 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-linux" |
131 |
- |
132 |
-# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
133 |
-EPATCH_EXCLUDE='' |
134 |
- |
135 |
-DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 ) |
136 |
- tokudb? ( app-arch/snappy ) |
137 |
- tokudb-backup-plugin? ( dev-util/valgrind ) |
138 |
- test? ( $(python_gen_any_dep 'dev-python/mysql-python[${PYTHON_USEDEP}]') )" |
139 |
-RDEPEND="${RDEPEND}" |
140 |
- |
141 |
-REQUIRED_USE="tokudb? ( jemalloc ) tokudb-backup-plugin? ( tokudb )" |
142 |
- |
143 |
-# Please do not add a naive src_unpack to this ebuild |
144 |
-# If you want to add a single patch, copy the ebuild to an overlay |
145 |
-# and create your own mysql-extras tarball, looking at 000_index.txt |
146 |
- |
147 |
-python_check_deps() { |
148 |
- has_version "dev-python/mysql-python[${PYTHON_USEDEP}]" |
149 |
-} |
150 |
- |
151 |
-# Official test instructions: |
152 |
-# USE='extraengine perl openssl static-libs' \ |
153 |
-# FEATURES='test userpriv -usersandbox' \ |
154 |
-# ebuild percona-server-X.X.XX.ebuild \ |
155 |
-# digest clean package |
156 |
-multilib_src_test() { |
157 |
- |
158 |
- if ! multilib_is_native_abi ; then |
159 |
- einfo "Server tests not available on non-native abi". |
160 |
- return 0; |
161 |
- fi |
162 |
- |
163 |
- local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test" |
164 |
- local retstatus_unit |
165 |
- local retstatus_tests |
166 |
- |
167 |
- # Bug #213475 - MySQL _will_ object strenously if your machine is named |
168 |
- # localhost. Also causes weird failures. |
169 |
- [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
170 |
- |
171 |
- if use server ; then |
172 |
- |
173 |
- if [[ $UID -eq 0 ]]; then |
174 |
- die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
175 |
- fi |
176 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
177 |
- |
178 |
- einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
179 |
- addpredict /this-dir-does-not-exist/t9.MYI |
180 |
- |
181 |
- # Run CTest (test-units) |
182 |
- cmake-utils_src_test |
183 |
- retstatus_unit=$? |
184 |
- [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
185 |
- |
186 |
- # Ensure that parallel runs don't die |
187 |
- export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
188 |
- # Enable parallel testing, auto will try to detect number of cores |
189 |
- # You may set this by hand. |
190 |
- # The default maximum is 8 unless MTR_MAX_PARALLEL is increased |
191 |
- export MTR_PARALLEL="${MTR_PARALLEL:-auto}" |
192 |
- |
193 |
- # create directories because mysqladmin might right out of order |
194 |
- mkdir -p "${T}"/var-tests{,/log} |
195 |
- |
196 |
- # Create a symlink to provided binaries so the tests can find them when client-libs is off |
197 |
- if ! use client-libs ; then |
198 |
- ln -srf /usr/bin/my_print_defaults "${BUILD_DIR}/client/my_print_defaults" || die |
199 |
- ln -srf /usr/bin/perror "${BUILD_DIR}/client/perror" || die |
200 |
- mysql-multilib_disable_test main.perror "String mismatch due to not building local perror" |
201 |
- fi |
202 |
- |
203 |
- # These are failing in Percona 5.6 for now and are believed to be |
204 |
- # false positives: |
205 |
- # |
206 |
- # main.information_schema, binlog.binlog_statement_insert_delayed, |
207 |
- # main.mysqld--help-notwin, binlog.binlog_mysqlbinlog_filter |
208 |
- # perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt |
209 |
- # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers |
210 |
- # engines/funcs.db_alter_character_set engines/funcs.db_alter_character_set_collate |
211 |
- # engines/funcs.db_alter_collate_ascii engines/funcs.db_alter_collate_utf8 |
212 |
- # engines/funcs.db_create_character_set engines/funcs.db_create_character_set_collate |
213 |
- # fails due to USE=-latin1 / utf8 default |
214 |
- # |
215 |
- # main.mysql_client_test: |
216 |
- # segfaults at random under Portage only, suspect resource limits. |
217 |
- # |
218 |
- # main.percona_bug1289599 |
219 |
- # Looks to be a syntax error in the test file itself |
220 |
- # |
221 |
- # main.variables main.myisam main.merge_recover |
222 |
- # fails due to ulimit not able to open enough files (needs 5000) |
223 |
- # |
224 |
- # main.mysqlhotcopy_archive main.mysqlhotcopy_myisam |
225 |
- # Called with bad parameters should be reported upstream |
226 |
- # |
227 |
- |
228 |
- for t in main.mysql_client_test \ |
229 |
- binlog.binlog_statement_insert_delayed main.information_schema \ |
230 |
- main.mysqld--help-notwin binlog.binlog_mysqlbinlog_filter \ |
231 |
- perfschema.binlog_edge_mix perfschema.binlog_edge_stmt \ |
232 |
- funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers \ |
233 |
- main.variables main.myisam main.merge_recover \ |
234 |
- engines/funcs.db_alter_character_set engines/funcs.db_alter_character_set_collate \ |
235 |
- engines/funcs.db_alter_collate_ascii engines/funcs.db_alter_collate_utf8 \ |
236 |
- engines/funcs.db_create_character_set engines/funcs.db_create_character_set_collate \ |
237 |
- main.percona_bug1289599 main.mysqlhotcopy_archive main.mysqlhotcopy_myisam ; do |
238 |
- mysql-multilib_disable_test "$t" "False positives in Gentoo" |
239 |
- done |
240 |
- |
241 |
- # Run mysql tests |
242 |
- pushd "${TESTDIR}" |
243 |
- |
244 |
- # Set file limits higher so tests run |
245 |
- ulimit -n 3000 |
246 |
- python_setup |
247 |
- # run mysql-test tests |
248 |
- perl mysql-test-run.pl --force --vardir="${T}/var-tests" \ |
249 |
- --testcase-timeout=30 --reorder |
250 |
- retstatus_tests=$? |
251 |
- [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
252 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
253 |
- |
254 |
- popd |
255 |
- |
256 |
- # Cleanup is important for these testcases. |
257 |
- pkill -9 -f "${S}/ndb" 2>/dev/null |
258 |
- pkill -9 -f "${S}/sql" 2>/dev/null |
259 |
- |
260 |
- failures="" |
261 |
- [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
262 |
- [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
263 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
264 |
- |
265 |
- [[ -z "$failures" ]] || die "Test failures: $failures" |
266 |
- einfo "Tests successfully completed" |
267 |
- |
268 |
- else |
269 |
- |
270 |
- einfo "Skipping server tests due to minimal build." |
271 |
- fi |
272 |
-} |
273 |
|
274 |
diff --git a/dev-db/percona-server/percona-server-5.6.27.75.0-r1.ebuild b/dev-db/percona-server/percona-server-5.6.27.75.0-r1.ebuild |
275 |
deleted file mode 100644 |
276 |
index 63ca6a5..0000000 |
277 |
--- a/dev-db/percona-server/percona-server-5.6.27.75.0-r1.ebuild |
278 |
+++ /dev/null |
279 |
@@ -1,167 +0,0 @@ |
280 |
-# Copyright 1999-2018 Gentoo Foundation |
281 |
-# Distributed under the terms of the GNU General Public License v2 |
282 |
- |
283 |
-EAPI="5" |
284 |
-MY_EXTRAS_VER="20151105-2051Z" |
285 |
-SUBSLOT="18" |
286 |
-PYTHON_COMPAT=( python2_7 ) |
287 |
-inherit python-any-r1 mysql-multilib-r1 |
288 |
- |
289 |
-IUSE="pam tokudb tokudb-backup-plugin" |
290 |
- |
291 |
-# REMEMBER: also update eclass/mysql*.eclass before committing! |
292 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-linux" |
293 |
-HOMEPAGE="http://www.percona.com/software/percona-server" |
294 |
-DESCRIPTION="An enhanced, drop-in replacement for MySQL from the Percona team" |
295 |
- |
296 |
-# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
297 |
-EPATCH_EXCLUDE='' |
298 |
- |
299 |
-COMMON_DEPEND="server? ( pam? ( virtual/pam:0= ) ) |
300 |
- tokudb? ( app-arch/snappy ) |
301 |
- tokudb-backup-plugin? ( dev-util/valgrind ) |
302 |
- " |
303 |
- |
304 |
-DEPEND="${COMMON_DEPEND} |
305 |
- || ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 ) |
306 |
- test? ( $(python_gen_any_dep 'dev-python/mysql-python[${PYTHON_USEDEP}]') )" |
307 |
-RDEPEND="${COMMON_DEPEND}" |
308 |
- |
309 |
-REQUIRED_USE="tokudb? ( jemalloc ) tokudb-backup-plugin? ( tokudb )" |
310 |
- |
311 |
-# Please do not add a naive src_unpack to this ebuild |
312 |
-# If you want to add a single patch, copy the ebuild to an overlay |
313 |
-# and create your own mysql-extras tarball, looking at 000_index.txt |
314 |
- |
315 |
-python_check_deps() { |
316 |
- has_version "dev-python/mysql-python[${PYTHON_USEDEP}]" |
317 |
-} |
318 |
- |
319 |
-src_configure() { |
320 |
- local MYSQL_CMAKE_NATIVE_DEFINES=( -DWITH_PAM=$(usex pam) |
321 |
- $(mysql-cmake_use_plugin tokudb TOKUDB) |
322 |
- ) |
323 |
- if use tokudb ; then |
324 |
- # TokuDB Backup plugin requires valgrind unconditionally |
325 |
- MYSQL_CMAKE_NATIVE_DEFINES+=( |
326 |
- $(usex tokudb-backup-plugin '' -DTOKUDB_BACKUP_DISABLED=1) |
327 |
- ) |
328 |
- fi |
329 |
- mysql-multilib-r1_src_configure |
330 |
-} |
331 |
- |
332 |
-# Official test instructions: |
333 |
-# USE='extraengine perl openssl static-libs' \ |
334 |
-# FEATURES='test userpriv -usersandbox' \ |
335 |
-# ebuild percona-server-X.X.XX.ebuild \ |
336 |
-# digest clean package |
337 |
-multilib_src_test() { |
338 |
- |
339 |
- if ! multilib_is_native_abi ; then |
340 |
- einfo "Server tests not available on non-native abi". |
341 |
- return 0; |
342 |
- fi |
343 |
- |
344 |
- local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test" |
345 |
- local retstatus_unit |
346 |
- local retstatus_tests |
347 |
- |
348 |
- # Bug #213475 - MySQL _will_ object strenously if your machine is named |
349 |
- # localhost. Also causes weird failures. |
350 |
- [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
351 |
- |
352 |
- if use server ; then |
353 |
- |
354 |
- if [[ $UID -eq 0 ]]; then |
355 |
- die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
356 |
- fi |
357 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
358 |
- |
359 |
- einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
360 |
- addpredict /this-dir-does-not-exist/t9.MYI |
361 |
- |
362 |
- # Run CTest (test-units) |
363 |
- cmake-utils_src_test |
364 |
- retstatus_unit=$? |
365 |
- [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
366 |
- |
367 |
- # Ensure that parallel runs don't die |
368 |
- export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
369 |
- # Enable parallel testing, auto will try to detect number of cores |
370 |
- # You may set this by hand. |
371 |
- # The default maximum is 8 unless MTR_MAX_PARALLEL is increased |
372 |
- export MTR_PARALLEL="${MTR_PARALLEL:-auto}" |
373 |
- |
374 |
- # create directories because mysqladmin might right out of order |
375 |
- mkdir -p "${T}"/var-tests{,/log} |
376 |
- |
377 |
- # These are failing in Percona 5.6 for now and are believed to be |
378 |
- # false positives: |
379 |
- # |
380 |
- # main.information_schema, binlog.binlog_statement_insert_delayed, |
381 |
- # main.mysqld--help-notwin, binlog.binlog_mysqlbinlog_filter |
382 |
- # perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt |
383 |
- # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers |
384 |
- # engines/funcs.db_alter_character_set engines/funcs.db_alter_character_set_collate |
385 |
- # engines/funcs.db_alter_collate_ascii engines/funcs.db_alter_collate_utf8 |
386 |
- # engines/funcs.db_create_character_set engines/funcs.db_create_character_set_collate |
387 |
- # fails due to USE=-latin1 / utf8 default |
388 |
- # |
389 |
- # main.mysql_client_test: |
390 |
- # segfaults at random under Portage only, suspect resource limits. |
391 |
- # |
392 |
- # main.percona_bug1289599 |
393 |
- # Looks to be a syntax error in the test file itself |
394 |
- # |
395 |
- # main.variables main.myisam main.merge_recover |
396 |
- # fails due to ulimit not able to open enough files (needs 5000) |
397 |
- # |
398 |
- # main.mysqlhotcopy_archive main.mysqlhotcopy_myisam |
399 |
- # Called with bad parameters should be reported upstream |
400 |
- # |
401 |
- |
402 |
- for t in main.mysql_client_test \ |
403 |
- binlog.binlog_statement_insert_delayed main.information_schema \ |
404 |
- main.mysqld--help-notwin binlog.binlog_mysqlbinlog_filter \ |
405 |
- perfschema.binlog_edge_mix perfschema.binlog_edge_stmt \ |
406 |
- funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers \ |
407 |
- main.variables main.myisam main.merge_recover \ |
408 |
- engines/funcs.db_alter_character_set engines/funcs.db_alter_character_set_collate \ |
409 |
- engines/funcs.db_alter_collate_ascii engines/funcs.db_alter_collate_utf8 \ |
410 |
- engines/funcs.db_create_character_set engines/funcs.db_create_character_set_collate \ |
411 |
- main.percona_bug1289599 main.mysqlhotcopy_archive main.mysqlhotcopy_myisam ; do |
412 |
- mysql-multilib-r1_disable_test "$t" "False positives in Gentoo" |
413 |
- done |
414 |
- |
415 |
- # Run mysql tests |
416 |
- pushd "${TESTDIR}" |
417 |
- |
418 |
- # Set file limits higher so tests run |
419 |
- ulimit -n 3000 |
420 |
- python_setup |
421 |
- # run mysql-test tests |
422 |
- perl mysql-test-run.pl --force --vardir="${T}/var-tests" \ |
423 |
- --testcase-timeout=30 --reorder |
424 |
- retstatus_tests=$? |
425 |
- [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
426 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
427 |
- |
428 |
- popd |
429 |
- |
430 |
- # Cleanup is important for these testcases. |
431 |
- pkill -9 -f "${S}/ndb" 2>/dev/null |
432 |
- pkill -9 -f "${S}/sql" 2>/dev/null |
433 |
- |
434 |
- failures="" |
435 |
- [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
436 |
- [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
437 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
438 |
- |
439 |
- [[ -z "$failures" ]] || die "Test failures: $failures" |
440 |
- einfo "Tests successfully completed" |
441 |
- |
442 |
- else |
443 |
- |
444 |
- einfo "Skipping server tests due to minimal build." |
445 |
- fi |
446 |
-} |
447 |
|
448 |
diff --git a/dev-db/percona-server/percona-server-5.6.27.76.0.ebuild b/dev-db/percona-server/percona-server-5.6.27.76.0.ebuild |
449 |
deleted file mode 100644 |
450 |
index aed49c8..0000000 |
451 |
--- a/dev-db/percona-server/percona-server-5.6.27.76.0.ebuild |
452 |
+++ /dev/null |
453 |
@@ -1,172 +0,0 @@ |
454 |
-# Copyright 1999-2018 Gentoo Foundation |
455 |
-# Distributed under the terms of the GNU General Public License v2 |
456 |
- |
457 |
-EAPI="5" |
458 |
-MY_EXTRAS_VER="20151105-2051Z" |
459 |
-SUBSLOT="18" |
460 |
-PYTHON_COMPAT=( python2_7 ) |
461 |
-inherit python-any-r1 mysql-multilib-r1 |
462 |
- |
463 |
-IUSE="pam tokudb tokudb-backup-plugin" |
464 |
- |
465 |
-# REMEMBER: also update eclass/mysql*.eclass before committing! |
466 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-linux" |
467 |
-HOMEPAGE="http://www.percona.com/software/percona-server" |
468 |
-DESCRIPTION="An enhanced, drop-in replacement for MySQL from the Percona team" |
469 |
- |
470 |
-# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
471 |
-EPATCH_EXCLUDE='' |
472 |
- |
473 |
-COMMON_DEPEND="server? ( pam? ( virtual/pam:0= ) ) |
474 |
- tokudb? ( app-arch/snappy ) |
475 |
- tokudb-backup-plugin? ( dev-util/valgrind ) |
476 |
- " |
477 |
- |
478 |
-DEPEND="${COMMON_DEPEND} |
479 |
- || ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 ) |
480 |
- test? ( $(python_gen_any_dep 'dev-python/mysql-python[${PYTHON_USEDEP}]') )" |
481 |
-RDEPEND="${COMMON_DEPEND}" |
482 |
- |
483 |
-REQUIRED_USE="tokudb? ( jemalloc ) tokudb-backup-plugin? ( tokudb )" |
484 |
- |
485 |
-# Please do not add a naive src_unpack to this ebuild |
486 |
-# If you want to add a single patch, copy the ebuild to an overlay |
487 |
-# and create your own mysql-extras tarball, looking at 000_index.txt |
488 |
- |
489 |
-python_check_deps() { |
490 |
- has_version "dev-python/mysql-python[${PYTHON_USEDEP}]" |
491 |
-} |
492 |
- |
493 |
-src_configure() { |
494 |
- local MYSQL_CMAKE_NATIVE_DEFINES=( -DWITH_PAM=$(usex pam) |
495 |
- $(mysql-cmake_use_plugin tokudb TOKUDB) |
496 |
- ) |
497 |
- if use tokudb ; then |
498 |
- # TokuDB Backup plugin requires valgrind unconditionally |
499 |
- MYSQL_CMAKE_NATIVE_DEFINES+=( |
500 |
- $(usex tokudb-backup-plugin '' -DTOKUDB_BACKUP_DISABLED=1) |
501 |
- ) |
502 |
- fi |
503 |
- mysql-multilib-r1_src_configure |
504 |
-} |
505 |
- |
506 |
-# Official test instructions: |
507 |
-# USE='extraengine perl openssl static-libs' \ |
508 |
-# FEATURES='test userpriv -usersandbox' \ |
509 |
-# ebuild percona-server-X.X.XX.ebuild \ |
510 |
-# digest clean package |
511 |
-multilib_src_test() { |
512 |
- |
513 |
- if ! multilib_is_native_abi ; then |
514 |
- einfo "Server tests not available on non-native abi". |
515 |
- return 0; |
516 |
- fi |
517 |
- |
518 |
- if ! use server ; then |
519 |
- einfo "Skipping server tests due to minimal build." |
520 |
- return 0 |
521 |
- fi |
522 |
- |
523 |
- local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test" |
524 |
- local retstatus_unit |
525 |
- local retstatus_tests |
526 |
- |
527 |
- # Bug #213475 - MySQL _will_ object strenously if your machine is named |
528 |
- # localhost. Also causes weird failures. |
529 |
- [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
530 |
- |
531 |
- if [[ $UID -eq 0 ]]; then |
532 |
- die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
533 |
- fi |
534 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
535 |
- |
536 |
- einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
537 |
- addpredict /this-dir-does-not-exist/t9.MYI |
538 |
- |
539 |
- # Run CTest (test-units) |
540 |
- cmake-utils_src_test |
541 |
- retstatus_unit=$? |
542 |
- [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
543 |
- |
544 |
- # Ensure that parallel runs don't die |
545 |
- export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
546 |
- # Enable parallel testing, auto will try to detect number of cores |
547 |
- # You may set this by hand. |
548 |
- # The default maximum is 8 unless MTR_MAX_PARALLEL is increased |
549 |
- export MTR_PARALLEL="${MTR_PARALLEL:-auto}" |
550 |
- |
551 |
- # create directories because mysqladmin might right out of order |
552 |
- mkdir -p "${T}"/var-tests{,/log} |
553 |
- |
554 |
- # These are failing in Percona 5.6 for now and are believed to be |
555 |
- # false positives: |
556 |
- # |
557 |
- # main.information_schema, binlog.binlog_statement_insert_delayed, |
558 |
- # main.mysqld--help-notwin, binlog.binlog_mysqlbinlog_filter |
559 |
- # perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt |
560 |
- # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers |
561 |
- # engines/funcs.db_alter_character_set engines/funcs.db_alter_character_set_collate |
562 |
- # engines/funcs.db_alter_collate_ascii engines/funcs.db_alter_collate_utf8 |
563 |
- # engines/funcs.db_create_character_set engines/funcs.db_create_character_set_collate |
564 |
- # fails due to USE=-latin1 / utf8 default |
565 |
- # |
566 |
- # main.mysql_client_test: |
567 |
- # segfaults at random under Portage only, suspect resource limits. |
568 |
- # |
569 |
- # main.percona_bug1289599 |
570 |
- # Looks to be a syntax error in the test file itself |
571 |
- # |
572 |
- # main.variables main.myisam main.merge_recover |
573 |
- # fails due to ulimit not able to open enough files (needs 5000) |
574 |
- # |
575 |
- # main.mysqlhotcopy_archive main.mysqlhotcopy_myisam |
576 |
- # Called with bad parameters should be reported upstream |
577 |
- # |
578 |
- |
579 |
- for t in main.mysql_client_test \ |
580 |
- binlog.binlog_statement_insert_delayed main.information_schema \ |
581 |
- main.mysqld--help-notwin binlog.binlog_mysqlbinlog_filter \ |
582 |
- perfschema.binlog_edge_mix perfschema.binlog_edge_stmt \ |
583 |
- funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers \ |
584 |
- main.variables main.myisam main.merge_recover \ |
585 |
- engines/funcs.db_alter_character_set engines/funcs.db_alter_character_set_collate \ |
586 |
- engines/funcs.db_alter_collate_ascii engines/funcs.db_alter_collate_utf8 \ |
587 |
- engines/funcs.db_create_character_set engines/funcs.db_create_character_set_collate \ |
588 |
- main.percona_bug1289599 main.mysqlhotcopy_archive main.mysqlhotcopy_myisam ; do |
589 |
- mysql-multilib-r1_disable_test "$t" "False positives in Gentoo" |
590 |
- done |
591 |
- |
592 |
- if ! use extraengine ; then |
593 |
- # bug 401673, 530766 |
594 |
- for t in federated.federated_plugin ; do |
595 |
- mysql-multilib-r1_disable_test "$t" "Test $t requires USE=extraengine (Need federated engine)" |
596 |
- done |
597 |
- fi |
598 |
- |
599 |
- # Run mysql tests |
600 |
- pushd "${TESTDIR}" || die |
601 |
- |
602 |
- # Set file limits higher so tests run |
603 |
- ulimit -n 3000 |
604 |
- python_setup |
605 |
- # run mysql-test tests |
606 |
- perl mysql-test-run.pl --force --vardir="${T}/var-tests" \ |
607 |
- --testcase-timeout=30 --reorder |
608 |
- retstatus_tests=$? |
609 |
- [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
610 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
611 |
- |
612 |
- popd || die |
613 |
- |
614 |
- # Cleanup is important for these testcases. |
615 |
- pkill -9 -f "${S}/ndb" 2>/dev/null |
616 |
- pkill -9 -f "${S}/sql" 2>/dev/null |
617 |
- |
618 |
- failures="" |
619 |
- [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
620 |
- [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
621 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
622 |
- |
623 |
- [[ -z "$failures" ]] || die "Test failures: $failures" |
624 |
- einfo "Tests successfully completed" |
625 |
-} |
626 |
|
627 |
diff --git a/dev-db/percona-server/percona-server-5.6.29.76.2.ebuild b/dev-db/percona-server/percona-server-5.6.29.76.2.ebuild |
628 |
deleted file mode 100644 |
629 |
index 8588a40..0000000 |
630 |
--- a/dev-db/percona-server/percona-server-5.6.29.76.2.ebuild |
631 |
+++ /dev/null |
632 |
@@ -1,185 +0,0 @@ |
633 |
-# Copyright 1999-2018 Gentoo Foundation |
634 |
-# Distributed under the terms of the GNU General Public License v2 |
635 |
- |
636 |
-EAPI="6" |
637 |
-MY_EXTRAS_VER="20160307-1854Z" |
638 |
-SUBSLOT="18" |
639 |
-PYTHON_COMPAT=( python2_7 ) |
640 |
-inherit python-any-r1 mysql-multilib-r1 |
641 |
- |
642 |
-IUSE="pam tokudb tokudb-backup-plugin" |
643 |
- |
644 |
-# REMEMBER: also update eclass/mysql*.eclass before committing! |
645 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-linux" |
646 |
-HOMEPAGE="http://www.percona.com/software/percona-server" |
647 |
-DESCRIPTION="An enhanced, drop-in replacement for MySQL from the Percona team" |
648 |
- |
649 |
-# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
650 |
-EPATCH_EXCLUDE='' |
651 |
- |
652 |
-COMMON_DEPEND="server? ( pam? ( virtual/pam:0= ) ) |
653 |
- tokudb? ( app-arch/snappy ) |
654 |
- tokudb-backup-plugin? ( dev-util/valgrind ) |
655 |
- " |
656 |
- |
657 |
-DEPEND="${COMMON_DEPEND} |
658 |
- || ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 ) |
659 |
- test? ( $(python_gen_any_dep 'dev-python/mysql-python[${PYTHON_USEDEP}]') )" |
660 |
-RDEPEND="${COMMON_DEPEND}" |
661 |
- |
662 |
-REQUIRED_USE="tokudb? ( jemalloc ) tokudb-backup-plugin? ( tokudb )" |
663 |
- |
664 |
-MY_PATCH_DIR="${WORKDIR}/mysql-extras-${MY_EXTRAS_VER}" |
665 |
- |
666 |
-PATCHES=( |
667 |
- "${MY_PATCH_DIR}"/01050_all_mysql_config_cleanup-5.6.patch |
668 |
- "${MY_PATCH_DIR}"/02040_all_embedded-library-shared-5.5.10.patch |
669 |
- "${MY_PATCH_DIR}"/20001_all_fix-minimal-build-cmake-mysql-5.6.20.patch |
670 |
- "${MY_PATCH_DIR}"/20006_all_cmake_elib-percona-5.6.29.patch |
671 |
- "${MY_PATCH_DIR}"/20007_all_cmake-debug-werror-5.6.22.patch |
672 |
- "${MY_PATCH_DIR}"/20008_all_mysql-tzinfo-symlink.patch |
673 |
- "${MY_PATCH_DIR}"/20009_all_mysql_myodbc_symbol_fix-5.6.patch |
674 |
- "${MY_PATCH_DIR}"/20018_all_percona-server-5.6.25-without-clientlibs-tools.patch |
675 |
-) |
676 |
- |
677 |
-# Please do not add a naive src_unpack to this ebuild |
678 |
-# If you want to add a single patch, copy the ebuild to an overlay |
679 |
-# and create your own mysql-extras tarball, looking at 000_index.txt |
680 |
- |
681 |
-python_check_deps() { |
682 |
- has_version "dev-python/mysql-python[${PYTHON_USEDEP}]" |
683 |
-} |
684 |
- |
685 |
-src_configure() { |
686 |
- local MYSQL_CMAKE_NATIVE_DEFINES=( -DWITH_PAM=$(usex pam) |
687 |
- $(mysql-cmake_use_plugin tokudb TOKUDB) |
688 |
- ) |
689 |
- if use tokudb ; then |
690 |
- # TokuDB Backup plugin requires valgrind unconditionally |
691 |
- MYSQL_CMAKE_NATIVE_DEFINES+=( |
692 |
- $(usex tokudb-backup-plugin '' -DTOKUDB_BACKUP_DISABLED=1) |
693 |
- ) |
694 |
- fi |
695 |
- mysql-multilib-r1_src_configure |
696 |
-} |
697 |
- |
698 |
-# Official test instructions: |
699 |
-# USE='extraengine perl openssl static-libs' \ |
700 |
-# FEATURES='test userpriv -usersandbox' \ |
701 |
-# ebuild percona-server-X.X.XX.ebuild \ |
702 |
-# digest clean package |
703 |
-multilib_src_test() { |
704 |
- |
705 |
- if ! multilib_is_native_abi ; then |
706 |
- einfo "Server tests not available on non-native abi". |
707 |
- return 0; |
708 |
- fi |
709 |
- |
710 |
- if ! use server ; then |
711 |
- einfo "Skipping server tests due to minimal build." |
712 |
- return 0 |
713 |
- fi |
714 |
- |
715 |
- local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test" |
716 |
- local retstatus_unit |
717 |
- local retstatus_tests |
718 |
- |
719 |
- # Bug #213475 - MySQL _will_ object strenously if your machine is named |
720 |
- # localhost. Also causes weird failures. |
721 |
- [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
722 |
- |
723 |
- if [[ $UID -eq 0 ]]; then |
724 |
- die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
725 |
- fi |
726 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
727 |
- |
728 |
- einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
729 |
- addpredict /this-dir-does-not-exist/t9.MYI |
730 |
- |
731 |
- # Run CTest (test-units) |
732 |
- cmake-utils_src_test |
733 |
- retstatus_unit=$? |
734 |
- [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
735 |
- |
736 |
- # Ensure that parallel runs don't die |
737 |
- export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
738 |
- # Enable parallel testing, auto will try to detect number of cores |
739 |
- # You may set this by hand. |
740 |
- # The default maximum is 8 unless MTR_MAX_PARALLEL is increased |
741 |
- export MTR_PARALLEL="${MTR_PARALLEL:-auto}" |
742 |
- |
743 |
- # create directories because mysqladmin might right out of order |
744 |
- mkdir -p "${T}"/var-tests{,/log} |
745 |
- |
746 |
- # These are failing in Percona 5.6 for now and are believed to be |
747 |
- # false positives: |
748 |
- # |
749 |
- # main.information_schema, binlog.binlog_statement_insert_delayed, |
750 |
- # main.mysqld--help-notwin, binlog.binlog_mysqlbinlog_filter |
751 |
- # perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt |
752 |
- # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers |
753 |
- # engines/funcs.db_alter_character_set engines/funcs.db_alter_character_set_collate |
754 |
- # engines/funcs.db_alter_collate_ascii engines/funcs.db_alter_collate_utf8 |
755 |
- # engines/funcs.db_create_character_set engines/funcs.db_create_character_set_collate |
756 |
- # fails due to USE=-latin1 / utf8 default |
757 |
- # |
758 |
- # main.mysql_client_test: |
759 |
- # segfaults at random under Portage only, suspect resource limits. |
760 |
- # |
761 |
- # main.percona_bug1289599 |
762 |
- # Looks to be a syntax error in the test file itself |
763 |
- # |
764 |
- # main.variables main.myisam main.merge_recover |
765 |
- # fails due to ulimit not able to open enough files (needs 5000) |
766 |
- # |
767 |
- # main.mysqlhotcopy_archive main.mysqlhotcopy_myisam |
768 |
- # Called with bad parameters should be reported upstream |
769 |
- # |
770 |
- |
771 |
- for t in main.mysql_client_test \ |
772 |
- binlog.binlog_statement_insert_delayed main.information_schema \ |
773 |
- main.mysqld--help-notwin binlog.binlog_mysqlbinlog_filter \ |
774 |
- perfschema.binlog_edge_mix perfschema.binlog_edge_stmt \ |
775 |
- funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers \ |
776 |
- main.variables main.myisam main.merge_recover \ |
777 |
- engines/funcs.db_alter_character_set engines/funcs.db_alter_character_set_collate \ |
778 |
- engines/funcs.db_alter_collate_ascii engines/funcs.db_alter_collate_utf8 \ |
779 |
- engines/funcs.db_create_character_set engines/funcs.db_create_character_set_collate \ |
780 |
- main.percona_bug1289599 main.mysqlhotcopy_archive main.mysqlhotcopy_myisam ; do |
781 |
- mysql-multilib-r1_disable_test "$t" "False positives in Gentoo" |
782 |
- done |
783 |
- |
784 |
- if ! use extraengine ; then |
785 |
- # bug 401673, 530766 |
786 |
- for t in federated.federated_plugin ; do |
787 |
- mysql-multilib-r1_disable_test "$t" "Test $t requires USE=extraengine (Need federated engine)" |
788 |
- done |
789 |
- fi |
790 |
- |
791 |
- # Run mysql tests |
792 |
- pushd "${TESTDIR}" || die |
793 |
- |
794 |
- # Set file limits higher so tests run |
795 |
- ulimit -n 3000 |
796 |
- python_setup |
797 |
- # run mysql-test tests |
798 |
- perl mysql-test-run.pl --force --vardir="${T}/var-tests" \ |
799 |
- --testcase-timeout=30 --reorder |
800 |
- retstatus_tests=$? |
801 |
- [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
802 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
803 |
- |
804 |
- popd || die |
805 |
- |
806 |
- # Cleanup is important for these testcases. |
807 |
- pkill -9 -f "${S}/ndb" 2>/dev/null |
808 |
- pkill -9 -f "${S}/sql" 2>/dev/null |
809 |
- |
810 |
- failures="" |
811 |
- [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
812 |
- [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
813 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
814 |
- |
815 |
- [[ -z "$failures" ]] || die "Test failures: $failures" |
816 |
- einfo "Tests successfully completed" |
817 |
-} |