mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-06 17:47:07 -08:00
qt5-build.eclass: replace deprecated virtualmake usage with virtx
(cherry picked from proj/qt commit b545feebf73592d8068d7ac71264a786328e3e73)
This commit is contained in:
@@ -246,14 +246,13 @@ qt5-build_src_test() {
|
||||
_EOF_
|
||||
chmod +x "${testrunner}"
|
||||
|
||||
_qt5_test_runner() {
|
||||
local testcmd=(
|
||||
qt5_foreach_target_subdir emake TESTRUNNER="'${testrunner}'" check
|
||||
}
|
||||
|
||||
)
|
||||
if [[ ${VIRTUALX_REQUIRED} == test ]]; then
|
||||
VIRTUALX_COMMAND="_qt5_test_runner" virtualmake
|
||||
virtx "${testcmd[@]}"
|
||||
else
|
||||
_qt5_test_runner
|
||||
"${testcmd[@]}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user