Merge lp:~aacid/ubuntu-system-settings/test_qpa into lp:ubuntu-system-settings

Proposed by Albert Astals Cid
Status: Merged
Approved by: Iain Lane
Approved revision: 563
Merged at revision: 571
Proposed branch: lp:~aacid/ubuntu-system-settings/test_qpa
Merge into: lp:ubuntu-system-settings
Diff against target: 11 lines (+1/-0)
1 file modified
tests/CMakeLists.txt (+1/-0)
To merge this branch: bzr merge lp:~aacid/ubuntu-system-settings/test_qpa
Reviewer Review Type Date Requested Status
Timo Jyrinki (community) Approve
PS Jenkins bot continuous-integration Approve
Iain Lane Approve
Review via email: mp+201943@code.launchpad.net

Commit message

Run tst_plugin test under the miminal QPA to prevent test failures in Qt5.

To post a comment you must log in.
Revision history for this message
Iain Lane (laney) wrote :

Decent.

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/CMakeLists.txt'
2--- tests/CMakeLists.txt 2013-10-01 07:42:02 +0000
3+++ tests/CMakeLists.txt 2014-01-16 15:15:19 +0000
4@@ -29,6 +29,7 @@
5 qt5_use_modules(tst-plugins Core Qml Test)
6 target_link_libraries(tst-plugins SystemSettings)
7 add_test(tst-plugins tst-plugins)
8+set_tests_properties(tst-plugins PROPERTIES ENVIRONMENT "QT_QPA_PLATFORM=minimal")
9
10 qt5_use_modules(tst-arguments Core Test)
11 add_test(tst-arguments tst-arguments)

Subscribers

People subscribed via source and target branches