I have made the following changes intended for :
  CE:MW:Shared / commhistory-daemon

Please review and accept or decline.
BOSS has already run some checks on this request.
See the "Messages from BOSS" section below.

https://build.pub.meego.com//request/show/7820

Thank You,
kontio

[This message was auto-generated]

---

Request # 7820:

Messages from BOSS:

State: review at 2013-02-07T08:18:54 by bossbot

Reviews:
       accepted by bossbot : Prechecks succeeded.
       new for CE-maintainers : Please replace this text with a review and 
approve/reject the review (not the SR). BOSS will take care of the rest

Changes:
  submit: home:kontio:commhistory / commhistory-daemon -> CE:MW:Shared / 
commhistory-daemon
  
changes files:
--------------
--- commhistory-daemon.changes
+++ commhistory-daemon.changes
@@ -0,0 +1,3 @@
+* Thu Feb  7 2013 Reto Zingg <[email protected]> - 0.4.4
+- create -tests package for automated testing
+

old:
----
  commhistory-daemon-0.4.3.tar.bz2

new:
----
  commhistory-daemon-0.4.4.tar.bz2

spec files:
-----------
--- commhistory-daemon.spec
+++ commhistory-daemon.spec
@@ -1,6 +1,6 @@
 Name:       commhistory-daemon
 Summary:    Communications event history database daemon
-Version:    0.4.3
+Version:    0.4.4
 Release:    1
 Group:      Communications/Telephony and IM
 License:    LGPL
@@ -21,12 +21,12 @@
 Obsoletes: voicecallhistory <= 0.1.5
 Provides: voicecallhistory > 0.1.5
 
-#package tests
-#Summary: Unit tests for commhistory-daemon
-#Group: Development/Libraries
+%package tests
+Summary: Unit tests for commhistory-daemon
+Group: Development/Libraries
 
-#description tests
-#Unit tests for commhistory-daemon
+%description tests
+Unit tests for commhistory-daemon
 
 %description
 Daemon for logging communications (IM, SMS and call) in history database.
@@ -54,7 +54,7 @@
 %{_datadir}/lipstick/notificationcategories/*
 %{_datadir}/telepathy/clients/CommHistory.client
 
-#files tests
-#defattr(-,root,root,-)
-%exclude %{_datadir}/commhistory-daemon-tests/*
+%files tests
+%defattr(-,root,root,-)
+/opt/tests/commhistory-daemon/*
 

other changes:
--------------

++++++ commhistory-daemon-0.4.3.tar.bz2 -> commhistory-daemon-0.4.4.tar.bz2
--- .gitignore
+++ .gitignore
@@ -0,0 +1,27 @@
+*.o
+*~
+moc_*
+commhistoryd
+tests/commhistorytest
+Makefile
+*.pro.user*
+.cproject
+.project
+*.pyc
+build-stamp
+builddir/
+configure-stamp
+debian/commhistory-daemon-dbg/
+debian/commhistory-daemon-l10n-engineering-english/
+debian/commhistory-daemon-tests.substvars
+debian/commhistory-daemon-tests/
+debian/commhistory-daemon.substvars
+debian/commhistory-daemon/
+debian/files
+debian/tmp/
+src/TpExtensions/.gen/
+tests/bin/
+translations/telephony/telephony.qm
+translations/messaging/messaging.qm
+translations/commhistoryd.qm
+translations/commhistoryd.ts
--- common-vars.pri
+++ common-vars.pri
@@ -33,7 +33,7 @@
 # Project version
 # remember to update debian/* files if you changes this
 # -----------------------------------------------------------------------------
-PROJECT_VERSION = 0.4.3
+PROJECT_VERSION = 0.4.4
 
 # -----------------------------------------------------------------------------
 # Project's data directories
--- tests/tests.pri
+++ tests/tests.pri
@@ -35,4 +35,4 @@
 !include( ../common-installs-config.pri ) : \
     error( "Unable to include common-installs-config.pri!" )
 # override default path for tests
-target.path = $${INSTALL_PREFIX}/share/commhistory-daemon-tests
+target.path = /opt/tests/$${PROJECT_NAME}
--- tests/tests.pro
+++ tests/tests.pro
@@ -48,5 +48,5 @@
 !include( ../common-installs-config.pri ) : \
          error( "Unable to include common-installs-config.pri!" )
 autotests.files = $${OUT_PWD}/bin/*
-autotests.path  = $${INSTALL_PREFIX}/share/$${PROJECT_NAME}-tests
+autotests.path  = /opt/tests/$${PROJECT_NAME}/
 INSTALLS += autotests
--- tests/ut_messagereviver/test_set.xml
+++ tests/ut_messagereviver/test_set.xml
@@ -1,6 +1,5 @@
 <set description="commhistory-daemon-tests:ut_messagereviver" 
name="ut_messagereviver">
-                <case description="commhistory-daemon-tests:ut_messagereviver" 
name="messagereviver">
-                       <step expected_result="0">su -l user -c 
/usr/share/commhistory-daemon-tests/ut_messagereviver </step>
-                 </case>
-                 
<environments><scratchbox>true</scratchbox><hardware>true</hardware></environments>
+    <case description="commhistory-daemon-tests:ut_messagereviver" 
name="messagereviver">
+        <step 
expected_result="0">/opt/tests/commhistory-daemon/ut_messagereviver</step>
+    </case>
 </set>
--- tests/ut_notificationmanager/test_set.xml
+++ tests/ut_notificationmanager/test_set.xml
@@ -1,6 +1,5 @@
 <set description="commhistory-daemon-tests:ut_notificationmanager" 
name="ut_notificationmanager">
-                <case 
description="commhistory-daemon-tests:ut_notificationmanager" 
name="notificationmanager">
-                       <step expected_result="0">su -l user -c 
/usr/share/commhistory-daemon-tests/ut_notificationmanager </step>
-                 </case>
-                 
<environments><scratchbox>true</scratchbox><hardware>true</hardware></environments>
+    <case description="commhistory-daemon-tests:ut_notificationmanager" 
name="notificationmanager">
+        <step 
expected_result="0">/opt/tests/commhistory-daemon/ut_notificationmanager</step>
+    </case>
 </set>
--- tests/ut_streamchannellistener/test_set.xml
+++ tests/ut_streamchannellistener/test_set.xml
@@ -1,6 +1,5 @@
 <set description="commhistory-daemon-tests:ut_streamchannellistener" 
name="ut_streamchannellistener">
-                <case 
description="commhistory-daemon-tests:ut_streamchannellistener" 
name="streamchannellistener">
-                       <step expected_result="0">su -l user -c 
/usr/share/commhistory-daemon-tests/ut_streamchannellistener </step>
-                 </case>
-                 
<environments><scratchbox>true</scratchbox><hardware>true</hardware></environments>
+    <case description="commhistory-daemon-tests:ut_streamchannellistener" 
name="streamchannellistener">
+        <step 
expected_result="0">/opt/tests/commhistory-daemon/ut_streamchannellistener</step>
+    </case>
 </set>
--- tests/ut_textchannellistener/test_set.xml
+++ tests/ut_textchannellistener/test_set.xml
@@ -1,6 +1,5 @@
 <set description="commhistory-daemon-tests:ut_textchannellistener" 
name="ut_textchannellistener">
-                <case 
description="commhistory-daemon-tests:ut_textchannellistener" 
name="textchannellistener">
-                       <step expected_result="0">su -l user -c 
/usr/share/commhistory-daemon-tests/ut_textchannellistener </step>
-                 </case>
-                 
<environments><scratchbox>true</scratchbox><hardware>true</hardware></environments>
+    <case description="commhistory-daemon-tests:ut_textchannellistener" 
name="textchannellistener">
+        <step 
expected_result="0">/opt/tests/commhistory-daemon/ut_textchannellistener</step>
+    </case>
 </set>



Reply via email to