Merge lp:~saviq/unity/phablet.flatten-qmltests into lp:unity/phablet
- phablet.flatten-qmltests
- Merge into phablet
Status: | Merged |
---|---|
Approved by: | Michael Zanetti |
Approved revision: | no longer in the source branch. |
Merged at revision: | 603 |
Proposed branch: | lp:~saviq/unity/phablet.flatten-qmltests |
Merge into: | lp:unity/phablet |
Diff against target: |
478 lines (+139/-150) 26 files modified
CMakeLists.txt (+0/-1) cmake/modules/QmlTest.cmake (+76/-0) debian/rules (+0/-2) tests/CMakeLists.txt (+8/-0) tests/plugins/CMakeLists.txt (+1/-0) tests/plugins/Utils/CMakeLists.txt (+1/-1) tests/qmltests/CMakeLists.txt (+47/-82) tests/qmltests/Greeter/tst_Clock.qml (+1/-1) tests/qmltests/Panel/tst_IndicatorItem.qml (+1/-1) tests/qmltests/README (+1/-1) tests/qmltests/SideStage/tst_SideStage.qml (+1/-1) tests/qmltests/plugins/CMakeLists.txt (+2/-1) tests/qmluitests/CMakeLists.txt (+0/-11) tests/qmluitests/Components/CMakeLists.txt (+0/-10) tests/qmluitests/Dash/CMakeLists.txt (+0/-2) tests/qmluitests/Greeter/CMakeLists.txt (+0/-1) tests/qmluitests/Hud/CMakeLists.txt (+0/-3) tests/qmluitests/Hud/qml/CMakeLists.txt (+0/-1) tests/qmluitests/Launcher/CMakeLists.txt (+0/-1) tests/qmluitests/Panel/CMakeLists.txt (+0/-7) tests/qmluitests/Panel/qml/CMakeLists.txt (+0/-2) tests/unittests/CMakeLists.txt (+0/-11) tests/unittests/Components/CMakeLists.txt (+0/-7) tests/unittests/Greeter/CMakeLists.txt (+0/-1) tests/unittests/Panel/CMakeLists.txt (+0/-1) tests/unittests/SideStage/CMakeLists.txt (+0/-1) |
To merge this branch: | bzr merge lp:~saviq/unity/phablet.flatten-qmltests |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Michael Zanetti (community) | Approve | ||
Unity Team | Pending | ||
Review via email: mp+159160@code.launchpad.net |
Commit message
flatten qmluitests and unittests into qmltests to reduce the test management burden
Description of the change
PS Jenkins bot (ps-jenkins) wrote : | # |
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:606
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
Michi Henning (michihenning) wrote : | # |
if("${
Calling make directly like this prevents building with other build tools, such as ninja. I think the correct way to do this is to a custom target with a DEPENDS. Jussi?
Michał Sawicz (saviq) wrote : | # |
W dniu 17.04.2013 00:09, Michi Henning pisze:
> if("${qmltest_
> add_test(
>
> Calling make directly like this prevents building with other build tools, such as ninja. I think the correct way to do this is to a custom target with a DEPENDS. Jussi?
Hmm indeed, we should just as well put the same command in there.
We also have
> enable_testing()
> add_custom_
in our root level CMakeLists.txt, to support the Debian "check" target.
We could indeed go with a dependency, but how do we pass the CTEST...
there? Or is it actually needed?
--
Michał Sawicz <email address hidden>
Canonical Services Ltd.
PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:607
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Michał Sawicz (saviq) wrote : | # |
fixed on both accounts, although `${builder} check` will not spit out test errors by default now, I didn't find a way to set up ENVIRONMENT for all the tests.
Michael Zanetti (mzanetti) wrote : | # |
> > add_custom_
> in our root level CMakeLists.txt, to support the Debian "check" target.
> We could indeed go with a dependency, but how do we pass the CTEST...
> there? Or is it actually needed?
I'd like to keep the CTEST_OUTPUT_
I think you can set it via:
target_
(not sure on the syntax but you get the idea... export it to the environment)
Michael Zanetti (mzanetti) wrote : | # |
My understanding is that this is to simplify creating new tests etc. The tests/qmltests/
PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:608
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Michał Sawicz (saviq) wrote : | # |
Unfortunately properties of targets don't propagate to their DEPENDS, so setting them on check does not actually help.
I've split the macro to a module now.
PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:609
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Michael Zanetti (mzanetti) wrote : | # |
still good. love the Makefile!
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Michael Zanetti (mzanetti) wrote : | # |
too bad... rest is still ok
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:611
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) : | # |
Preview Diff
1 | === modified file 'CMakeLists.txt' | |||
2 | --- CMakeLists.txt 2013-04-15 01:30:58 +0000 | |||
3 | +++ CMakeLists.txt 2013-04-17 12:05:31 +0000 | |||
4 | @@ -109,7 +109,6 @@ | |||
5 | 109 | 109 | ||
6 | 110 | # Tests | 110 | # Tests |
7 | 111 | enable_testing() | 111 | enable_testing() |
8 | 112 | add_custom_target(check make test CTEST_OUTPUT_ON_FAILURE=1) | ||
9 | 113 | 112 | ||
10 | 114 | # Autopilot tests | 113 | # Autopilot tests |
11 | 115 | include(autopilot) | 114 | include(autopilot) |
12 | 116 | 115 | ||
13 | === added file 'cmake/modules/QmlTest.cmake' | |||
14 | --- cmake/modules/QmlTest.cmake 1970-01-01 00:00:00 +0000 | |||
15 | +++ cmake/modules/QmlTest.cmake 2013-04-17 12:05:31 +0000 | |||
16 | @@ -0,0 +1,76 @@ | |||
17 | 1 | # add_qml_test(path component_name [NO_ADD_TEST] [NO_TARGETS] | ||
18 | 2 | # [TARGETS target1 [target2 [...]]] | ||
19 | 3 | # [IMPORT_PATHS import_path1 [import_path2 [...]] | ||
20 | 4 | # [PROPERTIES prop1 value1 [prop2 value2 [...]]]) | ||
21 | 5 | # | ||
22 | 6 | # NO_ADD_TEST will prevent adding the test to the "test" target | ||
23 | 7 | # NO_TARGETS will prevent adding the test to any targets | ||
24 | 8 | # TARGETS lists the targets the test should be added to | ||
25 | 9 | # IMPORT_PATHS will pass those paths to qmltestrunner as "-import" arguments | ||
26 | 10 | # PROPERTIES will be set on the target and test target. See CMake's set_target_properties() | ||
27 | 11 | # | ||
28 | 12 | # To change/set a default value for the whole test suite, prior to calling add_qml_test, set: | ||
29 | 13 | # qmltest_DEFAULT_NO_ADD_TEST (default: FALSE) | ||
30 | 14 | # qmltest_DEFAULT_TARGETS | ||
31 | 15 | # qmltest_DEFAULT_PROPERTIES | ||
32 | 16 | |||
33 | 17 | find_program(qmltestrunner_exe qmltestrunner) | ||
34 | 18 | |||
35 | 19 | if(NOT qmltestrunner_exe) | ||
36 | 20 | msg(FATAL_ERROR "Could not locate qmltestrunner.") | ||
37 | 21 | endif() | ||
38 | 22 | |||
39 | 23 | macro(add_qml_test SUBPATH COMPONENT_NAME) | ||
40 | 24 | set(options NO_ADD_TEST NO_TARGETS) | ||
41 | 25 | set(multi_value_keywords IMPORT_PATHS TARGETS PROPERTIES) | ||
42 | 26 | |||
43 | 27 | cmake_parse_arguments(qmltest "${options}" "" "${multi_value_keywords}" ${ARGN}) | ||
44 | 28 | |||
45 | 29 | set(qmltest_TARGET test${COMPONENT_NAME}) | ||
46 | 30 | set(qmltest_FILE ${SUBPATH}/tst_${COMPONENT_NAME}) | ||
47 | 31 | |||
48 | 32 | set(qmltestrunner_imports "") | ||
49 | 33 | if(NOT "${qmltest_IMPORT_PATHS}" STREQUAL "") | ||
50 | 34 | foreach(IMPORT_PATH ${qmltest_IMPORT_PATHS}) | ||
51 | 35 | list(APPEND qmltestrunner_imports "-import") | ||
52 | 36 | list(APPEND qmltestrunner_imports ${IMPORT_PATH}) | ||
53 | 37 | endforeach(IMPORT_PATH) | ||
54 | 38 | endif() | ||
55 | 39 | |||
56 | 40 | set(qmltest_command | ||
57 | 41 | ${qmltestrunner_exe} -input ${CMAKE_CURRENT_SOURCE_DIR}/${qmltest_FILE}.qml | ||
58 | 42 | ${qmltestrunner_imports} | ||
59 | 43 | -o ${CMAKE_BINARY_DIR}/${qmltest_TARGET}.xml,xunitxml | ||
60 | 44 | -o -,txt | ||
61 | 45 | ) | ||
62 | 46 | |||
63 | 47 | add_custom_target(${qmltest_TARGET} ${qmltest_command}) | ||
64 | 48 | |||
65 | 49 | if(NOT "${qmltest_PROPERTIES}" STREQUAL "") | ||
66 | 50 | set_target_properties(${qmltest_TARGET} PROPERTIES ${qmltest_PROPERTIES}) | ||
67 | 51 | elseif(NOT "${qmltest_DEFAULT_PROPERTIES}" STREQUAL "") | ||
68 | 52 | set_target_properties(${qmltest_TARGET} PROPERTIES ${qmltest_DEFAULT_PROPERTIES}) | ||
69 | 53 | endif() | ||
70 | 54 | |||
71 | 55 | if("${qmltest_NO_ADD_TEST}" STREQUAL FALSE AND NOT "${qmltest_DEFAULT_NO_ADD_TEST}" STREQUAL "TRUE") | ||
72 | 56 | add_test(${qmltest_TARGET} ${qmltest_command}) | ||
73 | 57 | |||
74 | 58 | if(NOT "${qmltest_UNPARSED_ARGUMENTS}" STREQUAL "") | ||
75 | 59 | set_tests_properties(${qmltest_TARGET} PROPERTIES ${qmltest_PROPERTIES}) | ||
76 | 60 | elseif(NOT "${qmltest_DEFAULT_PROPERTIES}" STREQUAL "") | ||
77 | 61 | set_tests_properties(${qmltest_TARGET} PROPERTIES ${qmltest_DEFAULT_PROPERTIES}) | ||
78 | 62 | endif() | ||
79 | 63 | endif("${qmltest_NO_ADD_TEST}" STREQUAL FALSE AND NOT "${qmltest_DEFAULT_NO_ADD_TEST}" STREQUAL "TRUE") | ||
80 | 64 | |||
81 | 65 | if("${qmltest_NO_TARGETS}" STREQUAL "FALSE") | ||
82 | 66 | if(NOT "${qmltest_TARGETS}" STREQUAL "") | ||
83 | 67 | foreach(TARGET ${qmltest_TARGETS}) | ||
84 | 68 | add_dependencies(${TARGET} ${qmltest_TARGET}) | ||
85 | 69 | endforeach(TARGET) | ||
86 | 70 | elseif(NOT "${qmltest_DEFAULT_TARGETS}" STREQUAL "") | ||
87 | 71 | foreach(TARGET ${qmltest_DEFAULT_TARGETS}) | ||
88 | 72 | add_dependencies(${TARGET} ${qmltest_TARGET}) | ||
89 | 73 | endforeach(TARGET) | ||
90 | 74 | endif() | ||
91 | 75 | endif("${qmltest_NO_TARGETS}" STREQUAL "FALSE") | ||
92 | 76 | endmacro(add_qml_test) | ||
93 | 0 | 77 | ||
94 | === modified file 'debian/rules' | |||
95 | --- debian/rules 2013-02-07 12:18:24 +0000 | |||
96 | +++ debian/rules 2013-04-17 12:05:31 +0000 | |||
97 | @@ -10,5 +10,3 @@ | |||
98 | 10 | 10 | ||
99 | 11 | override_dh_install: | 11 | override_dh_install: |
100 | 12 | dh_install --fail-missing | 12 | dh_install --fail-missing |
101 | 13 | |||
102 | 14 | |||
103 | 15 | 13 | ||
104 | === added file 'tests/CMakeLists.txt' | |||
105 | --- tests/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
106 | +++ tests/CMakeLists.txt 2013-04-17 12:05:31 +0000 | |||
107 | @@ -0,0 +1,8 @@ | |||
108 | 1 | add_custom_target(alltests) | ||
109 | 2 | add_dependencies(alltests check) | ||
110 | 3 | |||
111 | 4 | add_subdirectory(gtest) | ||
112 | 5 | add_subdirectory(qmltests) | ||
113 | 6 | add_subdirectory(whitespace) | ||
114 | 7 | add_subdirectory(cleanincludes) | ||
115 | 8 | add_subdirectory(plugins) | ||
116 | 0 | 9 | ||
117 | === added directory 'tests/plugins' | |||
118 | === added file 'tests/plugins/CMakeLists.txt' | |||
119 | --- tests/plugins/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
120 | +++ tests/plugins/CMakeLists.txt 2013-04-17 12:05:31 +0000 | |||
121 | @@ -0,0 +1,1 @@ | |||
122 | 1 | add_subdirectory(Utils) | ||
123 | 0 | 2 | ||
124 | === renamed directory 'tests/unittests/plugins/Utils' => 'tests/plugins/Utils' | |||
125 | === modified file 'tests/plugins/Utils/CMakeLists.txt' | |||
126 | --- tests/unittests/plugins/Utils/CMakeLists.txt 2013-04-12 07:49:37 +0000 | |||
127 | +++ tests/plugins/Utils/CMakeLists.txt 2013-04-17 12:05:31 +0000 | |||
128 | @@ -1,6 +1,6 @@ | |||
129 | 1 | include_directories( | 1 | include_directories( |
130 | 2 | ${UtilsQmlPlugin_SOURCE_DIR} | 2 | ${UtilsQmlPlugin_SOURCE_DIR} |
132 | 3 | ${CMAKE_CURRENT_SOURCE_DIR}/../../../../plugins/Utils | 3 | ${CMAKE_CURRENT_SOURCE_DIR}/../../../plugins/Utils |
133 | 4 | ${CMAKE_CURRENT_BINARY_DIR} | 4 | ${CMAKE_CURRENT_BINARY_DIR} |
134 | 5 | ) | 5 | ) |
135 | 6 | 6 | ||
136 | 7 | 7 | ||
137 | === renamed directory 'tests/qmluitests' => 'tests/qmltests' | |||
138 | === renamed file 'tests/CMakeLists.txt' => 'tests/qmltests/CMakeLists.txt' | |||
139 | --- tests/CMakeLists.txt 2013-04-12 13:21:01 +0000 | |||
140 | +++ tests/qmltests/CMakeLists.txt 2013-04-17 12:05:31 +0000 | |||
141 | @@ -1,83 +1,48 @@ | |||
217 | 1 | # add_qml_test(component_name [NO_ADD_TEST] [NO_TARGETS] | 1 | # add_qml_test macro |
218 | 2 | # [TARGETS target1 [target2 [...]]] | 2 | include(QmlTest) |
219 | 3 | # [IMPORT_PATHS import_path1 [import_path2 [...]] | 3 | |
145 | 4 | # [PROPERTIES prop1 value1 [prop2 value2 [...]]]) | ||
146 | 5 | # | ||
147 | 6 | # NO_ADD_TEST will prevent adding the test to the "make test" target | ||
148 | 7 | # NO_TARGETS will prevent adding the test to any targets | ||
149 | 8 | # TARGETS lists the targets the test should be added to | ||
150 | 9 | # IMPORT_PATHS will pass those paths to qmltestrunner as "-import" arguments | ||
151 | 10 | # PROPERTIES will be set on the target and test target. See CMake's set_target_properties() | ||
152 | 11 | # | ||
153 | 12 | # To change/set a default value for the whole test suite, prior to calling add_qml_test, set: | ||
154 | 13 | # qmltest_DEFAULT_NO_ADD_TEST (default: FALSE) | ||
155 | 14 | # qmltest_DEFAULT_TARGETS | ||
156 | 15 | # qmltest_DEFAULT_PROPERTIES | ||
157 | 16 | |||
158 | 17 | find_program(qmltestrunner_exe qmltestrunner) | ||
159 | 18 | |||
160 | 19 | if(NOT qmltestrunner_exe) | ||
161 | 20 | msg(FATAL_ERROR "Could not locate qmltestrunner.") | ||
162 | 21 | endif() | ||
163 | 22 | |||
164 | 23 | macro(add_qml_test COMPONENT_NAME) | ||
165 | 24 | set(options NO_ADD_TEST NO_TARGETS) | ||
166 | 25 | set(multi_value_keywords IMPORT_PATHS TARGETS PROPERTIES) | ||
167 | 26 | |||
168 | 27 | cmake_parse_arguments(qmltest "${options}" "" "${multi_value_keywords}" ${ARGN}) | ||
169 | 28 | |||
170 | 29 | set(qmltest_TARGET test${COMPONENT_NAME}) | ||
171 | 30 | set(qmltest_FILE tst_${COMPONENT_NAME}) | ||
172 | 31 | |||
173 | 32 | set(qmltestrunner_imports "") | ||
174 | 33 | if(NOT "${qmltest_IMPORT_PATHS}" STREQUAL "") | ||
175 | 34 | foreach(IMPORT_PATH ${qmltest_IMPORT_PATHS}) | ||
176 | 35 | list(APPEND qmltestrunner_imports "-import") | ||
177 | 36 | list(APPEND qmltestrunner_imports ${IMPORT_PATH}) | ||
178 | 37 | endforeach(IMPORT_PATH) | ||
179 | 38 | endif() | ||
180 | 39 | |||
181 | 40 | add_custom_target(${qmltest_TARGET} | ||
182 | 41 | ${qmltestrunner_exe} -input ${CMAKE_CURRENT_SOURCE_DIR}/${qmltest_FILE}.qml | ||
183 | 42 | ${qmltestrunner_imports} | ||
184 | 43 | -o ${CMAKE_BINARY_DIR}/${qmltest_TARGET}.xml,xunitxml | ||
185 | 44 | -o -,txt) | ||
186 | 45 | |||
187 | 46 | if(NOT "${qmltest_PROPERTIES}" STREQUAL "") | ||
188 | 47 | set_target_properties(${qmltest_TARGET} PROPERTIES ${qmltest_PROPERTIES}) | ||
189 | 48 | elseif(NOT "${qmltest_DEFAULT_PROPERTIES}" STREQUAL "") | ||
190 | 49 | set_target_properties(${qmltest_TARGET} ${qmltest_DEFAULT_PROPERTIES}) | ||
191 | 50 | endif() | ||
192 | 51 | |||
193 | 52 | if("${qmltest_NO_ADD_TEST}" STREQUAL FALSE AND NOT "${qmltest_DEFAULT_NO_ADD_TEST}" STREQUAL "TRUE") | ||
194 | 53 | add_test(${qmltest_TARGET} make ${qmltest_TARGET}) | ||
195 | 54 | |||
196 | 55 | if(NOT "${qmltest_UNPARSED_ARGUMENTS}" STREQUAL "") | ||
197 | 56 | set_tests_properties(${qmltest_TARGET} ${qmltest_PROPERTIES}) | ||
198 | 57 | elseif(NOT "${qmltest_DEFAULT_PROPERTIES}" STREQUAL "") | ||
199 | 58 | set_tests_properties(${qmltest_TARGET} ${qmltest_DEFAULT_PROPERTIES}) | ||
200 | 59 | endif() | ||
201 | 60 | endif("${qmltest_NO_ADD_TEST}" STREQUAL FALSE AND NOT "${qmltest_DEFAULT_NO_ADD_TEST}" STREQUAL "TRUE") | ||
202 | 61 | |||
203 | 62 | if("${qmltest_NO_TARGETS}" STREQUAL "FALSE") | ||
204 | 63 | if(NOT "${qmltest_TARGETS}" STREQUAL "") | ||
205 | 64 | foreach(TARGET ${qmltest_TARGETS}) | ||
206 | 65 | add_dependencies(${TARGET} ${qmltest_TARGET}) | ||
207 | 66 | endforeach(TARGET) | ||
208 | 67 | elseif(NOT "${qmltest_DEFAULT_TARGETS}" STREQUAL "") | ||
209 | 68 | foreach(TARGET ${qmltest_DEFAULT_TARGETS}) | ||
210 | 69 | add_dependencies(${TARGET} ${qmltest_TARGET}) | ||
211 | 70 | endforeach(TARGET) | ||
212 | 71 | endif() | ||
213 | 72 | endif("${qmltest_NO_TARGETS}" STREQUAL "FALSE") | ||
214 | 73 | endmacro(add_qml_test) | ||
215 | 74 | |||
216 | 75 | add_custom_target(alltests) | ||
220 | 76 | add_custom_target(qmltests) | 4 | add_custom_target(qmltests) |
228 | 77 | add_dependencies(alltests check qmltests) | 5 | add_custom_target(qmlunittests) |
229 | 78 | 6 | add_custom_target(qmluitests) | |
230 | 79 | add_subdirectory(gtest) | 7 | |
231 | 80 | add_subdirectory(unittests) | 8 | add_dependencies(alltests qmltests) |
232 | 81 | add_subdirectory(qmluitests) | 9 | |
233 | 82 | add_subdirectory(whitespace) | 10 | add_subdirectory(plugins) |
234 | 83 | add_subdirectory(cleanincludes) | 11 | |
235 | 12 | set(qmltest_DEFAULT_TARGETS qmlunittests qmltests) | ||
236 | 13 | set(qmltest_DEFAULT_NO_ADD_TEST FALSE) | ||
237 | 14 | set(qmltest_DEFAULT_PROPERTIES ENVIRONMENT "QT_QPA_PLATFORM=minimal") | ||
238 | 15 | add_qml_test(Components AnimationControllerWithSignals) | ||
239 | 16 | add_qml_test(Components Carousel) | ||
240 | 17 | add_qml_test(Components CrossFadeImage) | ||
241 | 18 | add_qml_test(Components MathLocal) | ||
242 | 19 | add_qml_test(Components OpenEffect) | ||
243 | 20 | add_qml_test(Components RatingStars) | ||
244 | 21 | add_qml_test(Components TimeLocal) | ||
245 | 22 | add_qml_test(Greeter Clock) | ||
246 | 23 | add_qml_test(Panel IndicatorItem) | ||
247 | 24 | |||
248 | 25 | set(qmltest_DEFAULT_TARGETS qmluitests qmltests) | ||
249 | 26 | set(qmltest_DEFAULT_NO_ADD_TEST TRUE) | ||
250 | 27 | set(qmltest_DEFAULT_PROPERTIES "") | ||
251 | 28 | add_qml_test(Components DraggingArea) | ||
252 | 29 | add_qml_test(Components FilterGrid IMPORT_PATHS ${CMAKE_BINARY_DIR}/plugins) | ||
253 | 30 | add_qml_test(Components ListViewWithPageHeader) | ||
254 | 31 | add_qml_test(Components ResponsiveFlowView) | ||
255 | 32 | add_qml_test(Components ResponsiveGridView) | ||
256 | 33 | add_qml_test(Components Revealer) | ||
257 | 34 | add_qml_test(Components Showable) | ||
258 | 35 | add_qml_test(Components Stage) | ||
259 | 36 | add_qml_test(Components Tile) | ||
260 | 37 | add_qml_test(Components PageHeader) | ||
261 | 38 | add_qml_test(Dash DashPreview) | ||
262 | 39 | add_qml_test(Dash PeoplePreview) | ||
263 | 40 | add_qml_test(Greeter Greeter) | ||
264 | 41 | add_qml_test(Hud Hud IMPORT_PATHS ${CMAKE_CURRENT_BINARY_DIR}/plugins) | ||
265 | 42 | add_qml_test(Launcher Launcher) | ||
266 | 43 | add_qml_test(Panel IndicatorRow IMPORT_PATHS ${CMAKE_CURRENT_BINARY_DIR}/plugins) | ||
267 | 44 | add_qml_test(Panel Indicators IMPORT_PATHS ${CMAKE_CURRENT_BINARY_DIR}/plugins) | ||
268 | 45 | add_qml_test(Panel Panel IMPORT_PATHS ${CMAKE_CURRENT_BINARY_DIR}/plugins) | ||
269 | 46 | add_qml_test(Panel SearchIndicator) | ||
270 | 47 | add_qml_test(Panel Overview) | ||
271 | 48 | add_qml_test(SideStage SideStage) | ||
272 | 84 | 49 | ||
273 | === renamed file 'tests/unittests/Components/tst_AnimationControllerWithSignals.qml' => 'tests/qmltests/Components/tst_AnimationControllerWithSignals.qml' | |||
274 | === renamed file 'tests/unittests/Components/tst_Carousel.qml' => 'tests/qmltests/Components/tst_Carousel.qml' | |||
275 | === renamed file 'tests/unittests/Components/tst_CrossFadeImage.qml' => 'tests/qmltests/Components/tst_CrossFadeImage.qml' | |||
276 | === renamed file 'tests/unittests/Components/tst_MathLocal.qml' => 'tests/qmltests/Components/tst_MathLocal.qml' | |||
277 | === renamed file 'tests/unittests/Components/tst_OpenEffect.qml' => 'tests/qmltests/Components/tst_OpenEffect.qml' | |||
278 | === renamed file 'tests/unittests/Components/tst_RatingStars.qml' => 'tests/qmltests/Components/tst_RatingStars.qml' | |||
279 | === renamed file 'tests/unittests/Components/tst_TimeLocal.qml' => 'tests/qmltests/Components/tst_TimeLocal.qml' | |||
280 | === renamed file 'tests/unittests/Greeter/tst_Clock.qml' => 'tests/qmltests/Greeter/tst_Clock.qml' | |||
281 | --- tests/unittests/Greeter/tst_Clock.qml 2013-04-10 11:09:44 +0000 | |||
282 | +++ tests/qmltests/Greeter/tst_Clock.qml 2013-04-17 12:05:31 +0000 | |||
283 | @@ -16,7 +16,7 @@ | |||
284 | 16 | 16 | ||
285 | 17 | import QtQuick 2.0 | 17 | import QtQuick 2.0 |
286 | 18 | import QtTest 1.0 | 18 | import QtTest 1.0 |
288 | 19 | import "../../qmluitests" | 19 | import ".." |
289 | 20 | import "../../../Greeter" | 20 | import "../../../Greeter" |
290 | 21 | import Ubuntu.Components 0.1 | 21 | import Ubuntu.Components 0.1 |
291 | 22 | 22 | ||
292 | 23 | 23 | ||
293 | === renamed file 'tests/unittests/Panel/tst_IndicatorItem.qml' => 'tests/qmltests/Panel/tst_IndicatorItem.qml' | |||
294 | --- tests/unittests/Panel/tst_IndicatorItem.qml 2013-04-09 17:31:41 +0000 | |||
295 | +++ tests/qmltests/Panel/tst_IndicatorItem.qml 2013-04-17 12:05:31 +0000 | |||
296 | @@ -16,7 +16,7 @@ | |||
297 | 16 | 16 | ||
298 | 17 | import QtQuick 2.0 | 17 | import QtQuick 2.0 |
299 | 18 | import QtTest 1.0 | 18 | import QtTest 1.0 |
301 | 19 | import "../../qmluitests" | 19 | import ".." |
302 | 20 | import "../../../Panel" | 20 | import "../../../Panel" |
303 | 21 | import Ubuntu.Components 0.1 | 21 | import Ubuntu.Components 0.1 |
304 | 22 | 22 | ||
305 | 23 | 23 | ||
306 | === renamed file 'tests/README' => 'tests/qmltests/README' | |||
307 | --- tests/README 2013-04-09 15:43:55 +0000 | |||
308 | +++ tests/qmltests/README 2013-04-17 12:05:31 +0000 | |||
309 | @@ -4,7 +4,7 @@ | |||
310 | 4 | General guidelines | 4 | General guidelines |
311 | 5 | ================== | 5 | ================== |
312 | 6 | 6 | ||
314 | 7 | Tests under qmluitests dir should be designed in a way that they can be run either | 7 | Tests under qmluitests target should be designed in a way that they can be run either |
315 | 8 | automatically (with qmltestrunner) or manually (with qmlscene). So make sure you | 8 | automatically (with qmltestrunner) or manually (with qmlscene). So make sure you |
316 | 9 | add UI controls for manual interaction and labels for monitoring output when needed. | 9 | add UI controls for manual interaction and labels for monitoring output when needed. |
317 | 10 | 10 | ||
318 | 11 | 11 | ||
319 | === renamed directory 'tests/unittests/SideStage' => 'tests/qmltests/SideStage' | |||
320 | === modified file 'tests/qmltests/SideStage/tst_SideStage.qml' | |||
321 | --- tests/unittests/SideStage/tst_SideStage.qml 2013-04-10 23:56:47 +0000 | |||
322 | +++ tests/qmltests/SideStage/tst_SideStage.qml 2013-04-17 12:05:31 +0000 | |||
323 | @@ -16,7 +16,7 @@ | |||
324 | 16 | 16 | ||
325 | 17 | import QtQuick 2.0 | 17 | import QtQuick 2.0 |
326 | 18 | import QtTest 1.0 | 18 | import QtTest 1.0 |
328 | 19 | import "../../qmluitests/" | 19 | import ".." |
329 | 20 | import "../../../SideStage" | 20 | import "../../../SideStage" |
330 | 21 | import Ubuntu.Components 0.1 | 21 | import Ubuntu.Components 0.1 |
331 | 22 | 22 | ||
332 | 23 | 23 | ||
333 | === renamed directory 'tests/unittests/plugins' => 'tests/qmltests/plugins' | |||
334 | === modified file 'tests/qmltests/plugins/CMakeLists.txt' | |||
335 | --- tests/unittests/plugins/CMakeLists.txt 2013-04-11 13:23:00 +0000 | |||
336 | +++ tests/qmltests/plugins/CMakeLists.txt 2013-04-17 12:05:31 +0000 | |||
337 | @@ -1,1 +1,2 @@ | |||
338 | 1 | add_subdirectory(Utils) | ||
339 | 2 | \ No newline at end of file | 1 | \ No newline at end of file |
340 | 2 | add_subdirectory(HudClient) | ||
341 | 3 | add_subdirectory(Ubuntu) | ||
342 | 3 | 4 | ||
343 | === renamed directory 'tests/qmluitests/Hud/qml/HudClient' => 'tests/qmltests/plugins/HudClient' | |||
344 | === renamed directory 'tests/qmluitests/Panel/qml/Ubuntu' => 'tests/qmltests/plugins/Ubuntu' | |||
345 | === removed file 'tests/qmluitests/CMakeLists.txt' | |||
346 | --- tests/qmluitests/CMakeLists.txt 2013-04-12 15:01:54 +0000 | |||
347 | +++ tests/qmluitests/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
348 | @@ -1,11 +0,0 @@ | |||
349 | 1 | add_custom_target(qmluitests) | ||
350 | 2 | |||
351 | 3 | set(qmltest_DEFAULT_TARGETS qmluitests qmltests) | ||
352 | 4 | set(qmltest_DEFAULT_NO_ADD_TEST TRUE) | ||
353 | 5 | |||
354 | 6 | add_subdirectory(Components) | ||
355 | 7 | add_subdirectory(Dash) | ||
356 | 8 | add_subdirectory(Greeter) | ||
357 | 9 | add_subdirectory(Hud) | ||
358 | 10 | add_subdirectory(Panel) | ||
359 | 11 | add_subdirectory(Launcher) | ||
360 | 12 | 0 | ||
361 | === removed file 'tests/qmluitests/Components/CMakeLists.txt' | |||
362 | --- tests/qmluitests/Components/CMakeLists.txt 2013-04-12 15:09:41 +0000 | |||
363 | +++ tests/qmluitests/Components/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
364 | @@ -1,10 +0,0 @@ | |||
365 | 1 | add_qml_test(DraggingArea) | ||
366 | 2 | add_qml_test(FilterGrid IMPORT_PATHS ${CMAKE_BINARY_DIR}/plugins) | ||
367 | 3 | add_qml_test(ListViewWithPageHeader) | ||
368 | 4 | add_qml_test(ResponsiveFlowView) | ||
369 | 5 | add_qml_test(ResponsiveGridView) | ||
370 | 6 | add_qml_test(Revealer) | ||
371 | 7 | add_qml_test(Showable) | ||
372 | 8 | add_qml_test(Stage) | ||
373 | 9 | add_qml_test(Tile) | ||
374 | 10 | add_qml_test(PageHeader) | ||
375 | 11 | 0 | ||
376 | === removed file 'tests/qmluitests/Dash/CMakeLists.txt' | |||
377 | --- tests/qmluitests/Dash/CMakeLists.txt 2013-04-11 15:05:45 +0000 | |||
378 | +++ tests/qmluitests/Dash/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
379 | @@ -1,2 +0,0 @@ | |||
380 | 1 | add_qml_test(DashPreview) | ||
381 | 2 | add_qml_test(PeoplePreview) | ||
382 | 3 | 0 | ||
383 | === removed file 'tests/qmluitests/Greeter/CMakeLists.txt' | |||
384 | --- tests/qmluitests/Greeter/CMakeLists.txt 2013-04-10 09:33:47 +0000 | |||
385 | +++ tests/qmluitests/Greeter/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
386 | @@ -1,1 +0,0 @@ | |||
387 | 1 | add_qml_test(Greeter) | ||
388 | 2 | 0 | ||
389 | === removed file 'tests/qmluitests/Hud/CMakeLists.txt' | |||
390 | --- tests/qmluitests/Hud/CMakeLists.txt 2013-04-12 12:49:20 +0000 | |||
391 | +++ tests/qmluitests/Hud/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
392 | @@ -1,3 +0,0 @@ | |||
393 | 1 | add_subdirectory(qml) | ||
394 | 2 | |||
395 | 3 | add_qml_test(Hud IMPORT_PATHS ${CMAKE_CURRENT_BINARY_DIR}/qml) | ||
396 | 4 | 0 | ||
397 | === removed directory 'tests/qmluitests/Hud/qml' | |||
398 | === removed file 'tests/qmluitests/Hud/qml/CMakeLists.txt' | |||
399 | --- tests/qmluitests/Hud/qml/CMakeLists.txt 2013-04-12 08:37:35 +0000 | |||
400 | +++ tests/qmluitests/Hud/qml/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
401 | @@ -1,1 +0,0 @@ | |||
402 | 1 | add_subdirectory(HudClient) | ||
403 | 2 | 0 | ||
404 | === removed file 'tests/qmluitests/Launcher/CMakeLists.txt' | |||
405 | --- tests/qmluitests/Launcher/CMakeLists.txt 2013-04-08 17:08:40 +0000 | |||
406 | +++ tests/qmluitests/Launcher/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
407 | @@ -1,1 +0,0 @@ | |||
408 | 1 | add_qml_test(Launcher) | ||
409 | 2 | 0 | ||
410 | === removed file 'tests/qmluitests/Panel/CMakeLists.txt' | |||
411 | --- tests/qmluitests/Panel/CMakeLists.txt 2013-04-12 15:20:47 +0000 | |||
412 | +++ tests/qmluitests/Panel/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
413 | @@ -1,7 +0,0 @@ | |||
414 | 1 | add_subdirectory(qml) | ||
415 | 2 | |||
416 | 3 | add_qml_test(IndicatorRow IMPORT_PATHS ${CMAKE_CURRENT_BINARY_DIR}/qml) | ||
417 | 4 | add_qml_test(Indicators IMPORT_PATHS ${CMAKE_CURRENT_BINARY_DIR}/qml) | ||
418 | 5 | add_qml_test(Panel IMPORT_PATHS ${CMAKE_CURRENT_BINARY_DIR}/qml) | ||
419 | 6 | add_qml_test(SearchIndicator) | ||
420 | 7 | add_qml_test(Overview) | ||
421 | 8 | 0 | ||
422 | === removed directory 'tests/qmluitests/Panel/qml' | |||
423 | === removed file 'tests/qmluitests/Panel/qml/CMakeLists.txt' | |||
424 | --- tests/qmluitests/Panel/qml/CMakeLists.txt 2013-04-12 08:37:35 +0000 | |||
425 | +++ tests/qmluitests/Panel/qml/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
426 | @@ -1,2 +0,0 @@ | |||
427 | 1 | add_subdirectory(Ubuntu) | ||
428 | 2 | |||
429 | 3 | 0 | ||
430 | === removed directory 'tests/unittests' | |||
431 | === removed file 'tests/unittests/CMakeLists.txt' | |||
432 | --- tests/unittests/CMakeLists.txt 2013-04-12 15:27:55 +0000 | |||
433 | +++ tests/unittests/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
434 | @@ -1,11 +0,0 @@ | |||
435 | 1 | add_custom_target(unittests) | ||
436 | 2 | |||
437 | 3 | set(qmltest_DEFAULT_TARGETS unittests qmltests) | ||
438 | 4 | set(qmltest_DEFAULT_PROPERTIES PROPERTIES ENVIRONMENT "QT_QPA_PLATFORM=minimal") | ||
439 | 5 | |||
440 | 6 | add_subdirectory(Components) | ||
441 | 7 | add_subdirectory(Greeter) | ||
442 | 8 | add_subdirectory(Panel) | ||
443 | 9 | add_subdirectory(SideStage) | ||
444 | 10 | add_subdirectory(plugins) | ||
445 | 11 | |||
446 | 12 | 0 | ||
447 | === removed directory 'tests/unittests/Components' | |||
448 | === removed file 'tests/unittests/Components/CMakeLists.txt' | |||
449 | --- tests/unittests/Components/CMakeLists.txt 2013-04-11 13:45:53 +0000 | |||
450 | +++ tests/unittests/Components/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
451 | @@ -1,7 +0,0 @@ | |||
452 | 1 | add_qml_test(AnimationControllerWithSignals) | ||
453 | 2 | add_qml_test(Carousel) | ||
454 | 3 | add_qml_test(CrossFadeImage) | ||
455 | 4 | add_qml_test(MathLocal) | ||
456 | 5 | add_qml_test(OpenEffect) | ||
457 | 6 | add_qml_test(RatingStars) | ||
458 | 7 | add_qml_test(TimeLocal) | ||
459 | 8 | 0 | ||
460 | === removed directory 'tests/unittests/Greeter' | |||
461 | === removed file 'tests/unittests/Greeter/CMakeLists.txt' | |||
462 | --- tests/unittests/Greeter/CMakeLists.txt 2013-04-10 09:33:47 +0000 | |||
463 | +++ tests/unittests/Greeter/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
464 | @@ -1,1 +0,0 @@ | |||
465 | 1 | add_qml_test(Clock) | ||
466 | 2 | 0 | ||
467 | === removed directory 'tests/unittests/Panel' | |||
468 | === removed file 'tests/unittests/Panel/CMakeLists.txt' | |||
469 | --- tests/unittests/Panel/CMakeLists.txt 2013-04-09 17:27:03 +0000 | |||
470 | +++ tests/unittests/Panel/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
471 | @@ -1,1 +0,0 @@ | |||
472 | 1 | add_qml_test(IndicatorItem) | ||
473 | 2 | 0 | ||
474 | === removed file 'tests/unittests/SideStage/CMakeLists.txt' | |||
475 | --- tests/unittests/SideStage/CMakeLists.txt 2013-04-09 17:14:48 +0000 | |||
476 | +++ tests/unittests/SideStage/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
477 | @@ -1,1 +0,0 @@ | |||
478 | 1 | add_qml_test(SideStage) |
FAILED: Continuous integration, rev:605 jenkins. qa.ubuntu. com/job/ unity-phablet- ci/559/ s-jenkins: 8080/job/ unity-phablet- qmluitests/ 354/console jenkins. qa.ubuntu. com/job/ unity-phablet- quantal- armhf-ci/ 560 jenkins. qa.ubuntu. com/job/ unity-phablet- quantal- armhf-ci/ 560/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ unity-phablet- quantal- i386-ci/ 559 jenkins. qa.ubuntu. com/job/ unity-phablet- raring- armhf-ci/ 435 jenkins. qa.ubuntu. com/job/ unity-phablet- raring- armhf-ci/ 435/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ unity-phablet- raring- i386-ci/ 439 jenkins. qa.ubuntu. com/job/ generic- mediumtests- runner/ 1055
http://
Executed test runs:
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins: 8080/job/ unity-phablet- ci/559/ rebuild
http://