mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-07 18:07:08 -08:00
dev-lang/php: run tests in parallel
The only failure I saw on some runs was: > Test disk_free_space and its alias diskfreespace() functions : basic functionality [ext/standard/tests/file/disk_free_space_basic.phpt] (warn: Test passed on retry attempt) but I'm not sure it's related. It sped up testing iterations by quite a bit. Signed-off-by: Sam James <sam@gentoo.org> Part-of: https://codeberg.org/gentoo/gentoo/pulls/2285 Merges: https://codeberg.org/gentoo/gentoo/pulls/2285
This commit is contained in:
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit flag-o-matic multilib systemd autotools
|
||||
inherit flag-o-matic multilib multiprocessing systemd autotools
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine"
|
||||
HOMEPAGE="https://www.php.net/"
|
||||
@@ -831,6 +831,7 @@ src_test() {
|
||||
SKIP_IO_CAPTURE_TESTS=1 SKIP_PERF_SENSITIVE=1 REPORT_EXIT_STATUS=1 \
|
||||
"${TEST_PHP_EXECUTABLE}" -n \
|
||||
"${WORKDIR}/sapis-build/cli/run-tests.php" --offline -n -q \
|
||||
-j$(get_makeopts_jobs) \
|
||||
-d "session.save_path=${T}" \
|
||||
-d "sendmail_path=echo >/dev/null" \
|
||||
|| die "tests failed"
|
||||
|
||||
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
WANT_AUTOMAKE="none"
|
||||
POSTGRES_COMPAT=( {15..18} )
|
||||
inherit autotools flag-o-matic multilib postgres systemd
|
||||
inherit autotools flag-o-matic multilib multiprocessing postgres systemd
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine"
|
||||
HOMEPAGE="https://www.php.net/"
|
||||
@@ -746,6 +746,7 @@ src_test() {
|
||||
SKIP_IO_CAPTURE_TESTS=1 SKIP_PERF_SENSITIVE=1 REPORT_EXIT_STATUS=1 \
|
||||
"${TEST_PHP_EXECUTABLE}" -n \
|
||||
"${WORKDIR}/sapis-build/cli/run-tests.php" --offline -n -q \
|
||||
-j$(get_makeopts_jobs) \
|
||||
-d "session.save_path=${T}" \
|
||||
|| die "tests failed"
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
WANT_AUTOMAKE="none"
|
||||
POSTGRES_COMPAT=( {15..18} )
|
||||
inherit flag-o-matic multilib postgres systemd toolchain-funcs
|
||||
inherit flag-o-matic multilib multiprocessing postgres systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine"
|
||||
HOMEPAGE="https://www.php.net/"
|
||||
@@ -787,6 +787,7 @@ src_test() {
|
||||
"${TEST_PHP_EXECUTABLE}" -n \
|
||||
"${WORKDIR}/sapis-build/cli/run-tests.php" --offline -n -q --show-diff \
|
||||
$(usex test-full "--set-timeout 300" "") \
|
||||
-j$(get_makeopts_jobs) \
|
||||
-d "session.save_path=${T}" \
|
||||
|| die "tests failed"
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
WANT_AUTOMAKE="none"
|
||||
POSTGRES_COMPAT=( {15..18} )
|
||||
inherit flag-o-matic multilib postgres systemd toolchain-funcs
|
||||
inherit flag-o-matic multilib multiprocessing postgres systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine"
|
||||
HOMEPAGE="https://www.php.net/"
|
||||
@@ -777,6 +777,7 @@ src_test() {
|
||||
SKIP_SLOW_TESTS=$(usex test-full 0 1) SKIP_IO_CAPTURE_TESTS=1 SKIP_PERF_SENSITIVE=1 REPORT_EXIT_STATUS=1 \
|
||||
"${TEST_PHP_EXECUTABLE}" -n \
|
||||
"${WORKDIR}/sapis-build/cli/run-tests.php" --offline -n -q --show-diff \
|
||||
-j$(get_makeopts_jobs) \
|
||||
$(usex test-full "--set-timeout 300" "") \
|
||||
-d "session.save_path=${T}" \
|
||||
|| die "tests failed"
|
||||
|
||||
Reference in New Issue
Block a user