1 |
commit: 01887c6b3a0bb2740caf755a5d0db58ad07f63db |
2 |
Author: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 25 01:37:59 2014 +0000 |
4 |
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 25 01:37:59 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=01887c6b |
7 |
|
8 |
[qt5-build.eclass] Rename internal function. |
9 |
|
10 |
--- |
11 |
eclass/qt5-build.eclass | 14 +++++++------- |
12 |
1 file changed, 7 insertions(+), 7 deletions(-) |
13 |
|
14 |
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass |
15 |
index a4ae5af..4c81dea 100644 |
16 |
--- a/eclass/qt5-build.eclass |
17 |
+++ b/eclass/qt5-build.eclass |
18 |
@@ -217,6 +217,10 @@ qt5-build_src_compile() { |
19 |
qt5-build_src_test() { |
20 |
echo ">>> Test phase [QtTest]: ${CATEGORY}/${PF}" |
21 |
|
22 |
+ # '-after SUBDIRS-=cmake' disables broken tests - bug #474004 |
23 |
+ qt5_foreach_target_subdir qt5_qmake -after SUBDIRS-=cmake |
24 |
+ qt5_foreach_target_subdir emake |
25 |
+ |
26 |
# create a custom testrunner script that correctly sets |
27 |
# {,DY}LD_LIBRARY_PATH before executing the given test |
28 |
local testrunner=${QT5_BUILD_DIR}/gentoo-testrunner |
29 |
@@ -228,18 +232,14 @@ qt5-build_src_test() { |
30 |
EOF |
31 |
chmod +x "${testrunner}" |
32 |
|
33 |
- # '-after SUBDIRS-=cmake' disables broken tests - bug #474004 |
34 |
- qt5_foreach_target_subdir qt5_qmake -after SUBDIRS-=cmake |
35 |
- qt5_foreach_target_subdir emake |
36 |
- |
37 |
- _test_runner() { |
38 |
+ _qt5_test_runner() { |
39 |
qt5_foreach_target_subdir emake TESTRUNNER="'${testrunner}'" check |
40 |
} |
41 |
|
42 |
if [[ ${VIRTUALX_REQUIRED} == test ]]; then |
43 |
- VIRTUALX_COMMAND="_test_runner" virtualmake |
44 |
+ VIRTUALX_COMMAND="_qt5_test_runner" virtualmake |
45 |
else |
46 |
- _test_runner |
47 |
+ _qt5_test_runner |
48 |
fi |
49 |
} |