Skip to content

Commit

Permalink
qt5-build.eclass: replace deprecated virtualmake usage with virtx
Browse files Browse the repository at this point in the history
(cherry picked from proj/qt commit b545feebf73592d8068d7ac71264a786328e3e73)
  • Loading branch information
Pesa committed Feb 2, 2016
1 parent ad30d3b commit d98dedd
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions eclass/qt5-build.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit d98dedd

Please sign in to comment.