diff options
author | Davide Pesavento <pesa@gentoo.org> | 2015-12-26 22:51:32 +0100 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2015-12-26 22:51:32 +0100 |
commit | b545feebf73592d8068d7ac71264a786328e3e73 (patch) | |
tree | 8c3279b1600b91033ccf4b182b6a476e5bb9ac65 | |
parent | qt5-build.eclass: drop subslot from 5.5.x (diff) | |
download | qt-b545feeb.tar.gz qt-b545feeb.tar.bz2 qt-b545feeb.zip |
qt5-build.eclass: replace deprecated virtualmake usage with virtx
-rw-r--r-- | eclass/qt5-build.eclass | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 0778918a..ec4aa391 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -252,14 +252,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 } |