LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File messagingframework-install-tests-under-share.patch of Package messagingframework (Project home:ftake:meego)

From: Kaitlin Rupert <kaitlin.rupert@linux.intel.com>
Subject: Fix messagingframework to install tests under /usr/share

By default, the QMF installs its tests under <install dir>/usr.
This patch installs them to <install dir>/share/messagingframework.

diff -Naur messagingframework-2010W08/tests/tests.pri messagingframework-2010W08-build/tests/tests.pri
--- messagingframework-2010W08/tests/tests.pri	2010-03-04 11:18:15.000000000 -0800
+++ messagingframework-2010W08-build/tests/tests.pri	2010-03-08 12:06:34.447948599 -0800
@@ -2,7 +2,7 @@
     QMAKE_MACOSX_DEPLOYMENT_TARGET=10.5
 }
 
-target.path+=$$QMF_INSTALL_ROOT/tests
+target.path+=$$QMF_INSTALL_ROOT/lib/qt4/tests/messagingframework
 
 QTOPIAMAIL=../../src/libraries/qtopiamail
 DEPENDPATH += .
diff -Naur messagingframework-2010W08/tests/tst_python_email/tst_python_email.pro messagingframework-2010W08-build/tests/tst_python_email/tst_python_email.pro
--- messagingframework-2010W08/tests/tst_python_email/tst_python_email.pro	2010-03-04 11:18:15.000000000 -0800
+++ messagingframework-2010W08-build/tests/tst_python_email/tst_python_email.pro	2010-03-08 12:42:19.129073370 -0800
@@ -4,7 +4,7 @@
 
 DEFINES += SRCDIR=\\\"$$_PRO_FILE_PWD_\\\"
 
-testdata.path = $$QMF_INSTALL_ROOT/tests/testdata 
+testdata.path = $$QMF_INSTALL_ROOT/lib/qt4/tests/messagingframework/testdata 
 testdata.files = testdata/
 
 INSTALLS += testdata
diff -Naur messagingframework-2010W08/benchmarks/tst_messageserver/tst_messageserver.pro messagingframework-2010W08-build/benchmarks/tst_messageserver/tst_messageserver.pro
--- messagingframework-2010W08/benchmarks/tst_messageserver/tst_messageserver.pro	2010-03-04 11:18:15.000000000 -0800
+++ messagingframework-2010W08-build/benchmarks/tst_messageserver/tst_messageserver.pro	2010-03-08 12:50:33.980948585 -0800
@@ -3,7 +3,7 @@
 CONFIG += messageserver qtopiamail
 
 TARGET = tst_messageserver 
-target.path += $$QMF_INSTALL_ROOT/tests
+target.path += $$QMF_INSTALL_ROOT/lib/qt4/tests/messagingframework
 
 BASE=../../
 include($$BASE/common.pri)