Skip to content

Commit b0beb9a

Browse files
committed
Merge branch 'jb52798' into 'master'
Run tests as privileged user See merge request mer-core/nemo-qml-plugin-email!78
2 parents 317a44a + aacb441 commit b0beb9a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

rpm/nemo-qml-plugin-email-qt5.spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Requires: %{name} = %{version}-%{release}
3535
Summary: QML email plugin tests
3636
Group: System/Libraries
3737
Requires: %{name} = %{version}-%{release}
38+
Requires: blts-tools
3839

3940
%description tests
4041
%{summary}.

tests/tests.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@
55
<set name="unit-tests" feature="QML Email">
66
<description>Email QML plugin automatic tests</description>
77
<case manual="false" name="emailfolder">
8-
<step>/opt/tests/nemo-qml-plugins/email/tst_emailfolder</step>
8+
<step>/usr/sbin/run-blts-root /bin/su $USER -g privileged -c /opt/tests/nemo-qml-plugins/email/tst_emailfolder</step>
99
</case>
1010
<case manual="false" name="emailmessage">
11-
<step>/opt/tests/nemo-qml-plugins/email/tst_emailmessage</step>
11+
<step>/usr/sbin/run-blts-root /bin/su $USER -g privileged -c /opt/tests/nemo-qml-plugins/email/tst_emailmessage</step>
12+
</case>
13+
<case manual="false" name="folderlistmodel">
14+
<step>/usr/sbin/run-blts-root /bin/su $USER -g privileged -c /opt/tests/nemo-qml-plugins/email/tst_folderlistmodel</step>
1215
</case>
1316
</set>
1417
</suite>

0 commit comments

Comments
 (0)