diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2021-11-18 16:32:43 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2021-11-18 16:34:57 +0100 |
commit | f135659c826a8d11fb437ff0cecba2c8fb5b96ee (patch) | |
tree | b4d8c8e9672691484d51aa273ed629f1ace07a4f /dev-db/percona-server | |
parent | dev-db/mysql: don't run ctest manually (diff) | |
download | gentoo-f135659c826a8d11fb437ff0cecba2c8fb5b96ee.tar.gz gentoo-f135659c826a8d11fb437ff0cecba2c8fb5b96ee.tar.bz2 gentoo-f135659c826a8d11fb437ff0cecba2c8fb5b96ee.zip |
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@gentoo.org>
Diffstat (limited to 'dev-db/percona-server')
-rw-r--r-- | dev-db/percona-server/percona-server-8.0.26.16.ebuild | 13 |
1 files 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" } |