File: tests.xml

package info (click to toggle)
qtcontacts-sqlite 0.3.20-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,952 kB
  • sloc: cpp: 32,880; ansic: 1,269; xml: 62; makefile: 32; sh: 18
file content (42 lines) | stat: -rw-r--r-- 5,221 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="UTF-8"?>
<testdefinition version="1.0">
   <suite name="qtcontacts-sqlite-qt5-tests" domain="mw">
       <description>QtContacts SQLite backend automatic tests</description>
       <set name="unit-tests" feature="qtcontacts-sqlite-qt5">
           <description>Backend correctness automatic tests</description>
           <case manual="false" name="aggregation">
               <step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs |  tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "rm -rf /home/$DEVICEUSER/.local/share/system/privileged/Contacts/qtcontacts-sqlite-test" $DEVICEUSER'</step>
               <step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs |  tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "/opt/tests/qtcontacts-sqlite-qt5/tst_aggregation" $DEVICEUSER'</step>
           </case>
           <case manual="false" name="synctransactions">
               <step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs |  tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "rm -rf /home/$DEVICEUSER/.local/share/system/privileged/Contacts/qtcontacts-sqlite-test" $DEVICEUSER'</step>
               <step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs |  tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "/opt/tests/qtcontacts-sqlite-qt5/tst_synctransactions" $DEVICEUSER'</step>
           </case>
           <case manual="false" name="displaylabelgroups">
               <step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs |  tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "rm -rf /home/$DEVICEUSER/.local/share/system/privileged/Contacts/qtcontacts-sqlite-test" $DEVICEUSER'</step>
               <step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs |  tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "/opt/tests/qtcontacts-sqlite-qt5/tst_displaylabelgroups" $DEVICEUSER'</step>
           </case>
           <case manual="false" name="detailfetchrequest">
               <step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs |  tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "rm -rf /home/$DEVICEUSER/.local/share/system/privileged/Contacts/qtcontacts-sqlite-test" $DEVICEUSER'</step>
               <step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs |  tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "/opt/tests/qtcontacts-sqlite-qt5/tst_detailfetchrequest" $DEVICEUSER'</step>
           </case>
           <case manual="false" name="contactmanager">
               <step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs |  tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "rm -rf /home/$DEVICEUSER/.local/share/system/privileged/Contacts/qtcontacts-sqlite-test" $DEVICEUSER'</step>
               <step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs |  tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "/opt/tests/qtcontacts-sqlite-qt5/tst_qcontactmanager" $DEVICEUSER'</step>
           </case>
           <case manual="false" name="contactmanagerfiltering">
               <step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs |  tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "rm -rf /home/$DEVICEUSER/.local/share/system/Contacts/qtcontacts-sqlite-test" $DEVICEUSER'</step>
               <step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs |  tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "/opt/tests/qtcontacts-sqlite-qt5/tst_qcontactmanagerfiltering" $DEVICEUSER'</step>
           </case>
           <case manual="false" name="database">
               <step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs |  tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "/opt/tests/qtcontacts-sqlite-qt5/tst_database -perfcounter tickcounter" $DEVICEUSER'</step>
           </case>
           <case manual="false" name="memorytable">
               <step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs |  tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "/opt/tests/qtcontacts-sqlite-qt5/tst_memorytable" $DEVICEUSER'</step>
           </case>
           <case manual="false" name="phonenumber">
               <step>DEVICEUSER=$(getent passwd $(grep "^UID_MIN" /etc/login.defs |  tr -s " " | cut -d " " -f2) | sed 's/:.*//') bash -c '/usr/sbin/run-blts-root /bin/su -g privileged -c "/opt/tests/qtcontacts-sqlite-qt5/tst_phonenumber" $DEVICEUSER'</step>
           </case>
       </set>
   </suite>
</testdefinition>