Gentoo Archives: gentoo-commits

From: Davide Pesavento <pesa@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/qt:master commit in: net-libs/qmf/, net-libs/qmf/files/
Date: Mon, 01 Jul 2013 10:14:01
Message-Id: 1372673657.583a65c7e5e57f1d9f375b3662ecfa0fa0eca7e7.pesa@gentoo
1 commit: 583a65c7e5e57f1d9f375b3662ecfa0fa0eca7e7
2 Author: Davide Pesavento <davidepesa <AT> gmail <DOT> com>
3 AuthorDate: Mon Jul 1 10:14:17 2013 +0000
4 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 1 10:14:17 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=583a65c7
7
8 [net-libs/qmf] Sync with portage.
9
10 Package-Manager: portage-2.2.0_alpha186
11
12 ---
13 .../qmf/files/{qmf-tests.patch => qmf-4.0.2-tests.patch} | 0
14 net-libs/qmf/qmf-9999.ebuild | 16 ++++++++--------
15 2 files changed, 8 insertions(+), 8 deletions(-)
16
17 diff --git a/net-libs/qmf/files/qmf-tests.patch b/net-libs/qmf/files/qmf-4.0.2-tests.patch
18 similarity index 100%
19 rename from net-libs/qmf/files/qmf-tests.patch
20 rename to net-libs/qmf/files/qmf-4.0.2-tests.patch
21
22 diff --git a/net-libs/qmf/qmf-9999.ebuild b/net-libs/qmf/qmf-9999.ebuild
23 index ca2ac3b..527c949 100644
24 --- a/net-libs/qmf/qmf-9999.ebuild
25 +++ b/net-libs/qmf/qmf-9999.ebuild
26 @@ -39,7 +39,7 @@ DEPEND="${RDEPEND}
27
28 DOCS=(CHANGES)
29 PATCHES=(
30 - "${FILESDIR}/${PN}-tests.patch"
31 + "${FILESDIR}/${PN}-4.0.2-tests.patch"
32 )
33
34 src_prepare() {
35 @@ -83,14 +83,14 @@ src_test() {
36 emake
37
38 einfo "Running tests"
39 - export QMF_DATA="${T}"
40 + export QMF_DATA=${T}
41 local fail=false test=
42 - for test in locks longstream longstring python_email qcop qlogsystem \
43 - qmailaddress qmailcodec qmaillog qmailmessage \
44 - qmailmessagebody qmailmessageheader qmailmessagepart \
45 - qmailnamespace qprivateimplementation; do
46 - if ! LC_ALL=C ./tst_${test}/tst_${test}; then
47 - eerror "'${test}' test failed!"
48 + for test in tst_*; do
49 + # skip test that requires messageserver to be running
50 + [[ ${test} == tst_qmailstorageaction ]] && continue
51 +
52 + if ! LC_ALL=C ./${test}/${test}; then
53 + eerror "${test#tst_} test failed!"
54 fail=true
55 fi
56 echo