public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/percona-server/
Date: Thu, 18 Nov 2021 15:35:00 +0000 (UTC)	[thread overview]
Message-ID: <1637249697.f135659c826a8d11fb437ff0cecba2c8fb5b96ee.whissi@gentoo> (raw)

commit:     f135659c826a8d11fb437ff0cecba2c8fb5b96ee
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 18 15:32:43 2021 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Thu Nov 18 15:34:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f135659c

dev-db/percona-server: don't run ctest manually

ctest are already part of mysql-test suite.

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-db/percona-server/percona-server-8.0.26.16.ebuild | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/dev-db/percona-server/percona-server-8.0.26.16.ebuild b/dev-db/percona-server/percona-server-8.0.26.16.ebuild
index c8fd325a9307..9098b344ce11 100644
--- a/dev-db/percona-server/percona-server-8.0.26.16.ebuild
+++ b/dev-db/percona-server/percona-server-8.0.26.16.ebuild
@@ -366,12 +366,12 @@ src_test() {
 	}
 
 	local TESTDIR="${BUILD_DIR}/mysql-test"
-	local retstatus_unit
 	local retstatus_tests
 
-	# Run CTest (test-units)
-	cmake_src_test
-	retstatus_unit=$?
+	if ! use server ; then
+		einfo "Skipping server tests due to minimal build."
+		return 0
+	fi
 
 	# Ensure that parallel runs don't die
 	export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
@@ -578,10 +578,9 @@ src_test() {
 	pkill -9 -f "${S}/sql" 2>/dev/null
 
 	local failures=""
-	[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
-	[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
+	[[ ${retstatus_tests} -eq 0 ]] || failures="${failures} tests"
 
-	[[ -z "$failures" ]] || die "Test failures: $failures"
+	[[ -z "${failures}" ]] || die "Test failures: ${failures}"
 	einfo "Tests successfully completed"
 }
 


             reply	other threads:[~2021-11-18 15:35 UTC|newest]

Thread overview: 121+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-18 15:35 Thomas Deutschmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-01 18:55 [gentoo-commits] repo/gentoo:master commit in: dev-db/percona-server/ Mike Gilbert
2024-01-24  6:55 Sam James
2023-07-04 22:20 Sam James
2023-04-18  8:26 Sam James
2023-02-14  0:29 Mike Gilbert
2022-12-14  1:53 Sam James
2022-05-15  1:00 Sam James
2022-03-22 23:32 Sam James
2021-11-14  3:49 Thomas Deutschmann
2021-11-14  3:49 Thomas Deutschmann
2021-08-04 20:31 Thomas Deutschmann
2021-05-21  8:22 Thomas Deutschmann
2021-05-21  2:12 Thomas Deutschmann
2021-05-03  8:18 Mikle Kolyada
2021-05-01 18:24 Sam James
2021-04-28 18:26 Thomas Deutschmann
2021-04-28 18:26 Thomas Deutschmann
2021-04-28 13:20 Thomas Deutschmann
2021-04-28 13:20 Thomas Deutschmann
2021-01-06 18:43 Fabian Groffen
2020-12-20 22:54 Thomas Deutschmann
2020-12-20 21:01 Thomas Deutschmann
2020-11-08 23:44 Thomas Deutschmann
2020-10-08 23:45 Thomas Deutschmann
2020-10-08 23:45 Thomas Deutschmann
2020-07-26 13:21 Thomas Deutschmann
2020-07-25 23:39 Thomas Deutschmann
2020-07-25 18:45 Thomas Deutschmann
2020-07-25  1:32 Thomas Deutschmann
2020-05-25 11:57 Thomas Deutschmann
2020-05-25 11:57 Thomas Deutschmann
2020-05-04 16:01 Thomas Deutschmann
2020-05-02  8:04 Thomas Deutschmann
2020-04-30 20:45 Thomas Deutschmann
2020-03-19  3:47 Matt Turner
2020-03-17  1:07 Thomas Deutschmann
2020-02-08 17:06 David Seifert
2020-01-25 19:53 Thomas Deutschmann
2020-01-22 20:26 Thomas Deutschmann
2020-01-22 20:26 Thomas Deutschmann
2019-12-31  3:30 Thomas Deutschmann
2019-12-09 22:01 Thomas Deutschmann
2019-10-31 12:10 Thomas Deutschmann
2019-10-31  1:41 Thomas Deutschmann
2019-10-12 18:44 Mikle Kolyada
2019-08-28 16:29 Thomas Deutschmann
2019-08-23 20:04 Thomas Deutschmann
2019-08-22 20:02 Thomas Deutschmann
2019-08-22 20:02 Thomas Deutschmann
2019-08-02 16:56 Thomas Deutschmann
2019-07-22 14:33 Thomas Deutschmann
2019-05-24 10:52 Thomas Deutschmann
2019-05-14 13:14 Thomas Deutschmann
2019-03-03 18:57 Thomas Deutschmann
2019-03-02 19:55 Thomas Deutschmann
2019-03-02 18:58 Thomas Deutschmann
2018-12-20  1:10 Thomas Deutschmann
2018-12-02 22:13 Thomas Deutschmann
2018-11-18 21:43 Thomas Deutschmann
2018-11-16 23:00 Thomas Deutschmann
2018-11-14 19:23 Thomas Deutschmann
2018-11-13 18:26 Brian Evans
2018-10-17 22:21 Thomas Deutschmann
2018-10-17 12:30 Thomas Deutschmann
2018-10-17 10:38 Thomas Deutschmann
2018-10-17  0:46 Thomas Deutschmann
2018-10-16 17:28 Thomas Deutschmann
2018-10-16 16:23 Thomas Deutschmann
2018-09-18 14:11 Brian Evans
2018-09-18 14:11 Brian Evans
2018-08-20 19:45 Thomas Deutschmann
2018-08-20  0:38 Thomas Deutschmann
2018-08-20  0:26 Thomas Deutschmann
2018-07-21 13:11 Brian Evans
2018-07-21  0:09 Brian Evans
2018-02-12 23:32 Thomas Deutschmann
2017-12-18 16:50 Thomas Deutschmann
2017-12-06  2:33 Brian Evans
2017-12-05 15:43 Thomas Deutschmann
2017-12-05 11:51 Thomas Deutschmann
2017-11-21 16:30 Thomas Deutschmann
2017-10-28 18:11 Thomas Deutschmann
2017-10-28 18:11 Thomas Deutschmann
2017-09-29 20:27 Brian Evans
2017-09-04 12:32 Thomas Deutschmann
2017-08-02 16:46 Thomas Deutschmann
2017-08-02 16:46 Thomas Deutschmann
2017-07-17 13:44 Brian Evans
2017-05-27  9:08 Thomas Deutschmann
2017-04-13 21:02 Thomas Deutschmann
2017-03-09 19:18 Thomas Deutschmann
2017-02-14 16:30 Thomas Deutschmann
2016-12-03 20:56 Thomas Deutschmann
2016-10-19 20:25 Thomas Deutschmann
2016-09-22 21:54 Thomas Deutschmann
2016-09-22 21:54 Thomas Deutschmann
2016-09-14  0:58 Thomas Deutschmann
2016-08-26 14:39 Thomas Deutschmann
2016-07-21 18:52 Brian Evans
2016-07-20 13:58 Brian Evans
2016-07-20 13:58 Brian Evans
2016-07-19 17:43 Brian Evans
2016-06-13 18:40 Brian Evans
2016-04-18 18:31 Brian Evans
2016-04-18  8:13 Patrice Clement
2016-03-09 18:38 Brian Evans
2016-03-09 18:38 Brian Evans
2016-01-20 13:58 Brian Evans
2015-12-22 18:46 Brian Evans
2015-12-15 14:46 Brian Evans
2015-12-14 14:36 Brian Evans
2015-12-13 22:07 Brian Evans
2015-11-06 16:32 Brian Evans
2015-11-06 16:32 Brian Evans
2015-11-05 23:29 Brian Evans
2015-11-04 21:45 Brian Evans
2015-10-20 14:52 Brian Evans
2015-09-21 16:56 Brian Evans
2015-09-17 18:45 Brian Evans
2015-09-17 18:45 Brian Evans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1637249697.f135659c826a8d11fb437ff0cecba2c8fb5b96ee.whissi@gentoo \
    --to=whissi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox