From: Denys Dmytriyenko <denis@denix.org>
To: Martin Jansa <martin.jansa@gmail.com>
Cc: "openembedded-devel@lists.openembedded.org"
<openembedded-devel@lists.openembedded.org>
Subject: Re: [meta-qt5] [PATCH v2] qtbase: add ptest
Date: Mon, 2 Oct 2017 17:51:23 -0400 [thread overview]
Message-ID: <20171002215123.GD16828@denix.org> (raw)
In-Reply-To: <CA+chaQd2cADxXOpPJX3NDEY3w15oTwJKKGpx8SpA6TmB-2A5BA@mail.gmail.com>
Was this actually merged to master as is?
On Tue, Aug 15, 2017 at 11:22:20AM +0200, Martin Jansa wrote:
> pong,
>
> it's failing to build as reported by me and Khem, so it won't get merged in
> this form.
>
> http://lists.openembedded.org/pipermail/openembedded-devel/2017-August/114108.html
>
> On Tue, Aug 15, 2017 at 3:21 AM, Huang, Qiyu <huangqy.fnst@cn.fujitsu.com>
> wrote:
>
> > ping
> >
> > > -----Original Message-----
> > > From: Huang, Qiyu
> > > Sent: Tuesday, July 25, 2017 9:30 AM
> > > To: openembedded-devel@lists.openembedded.org
> > > Cc: Huang, Qiyu <huangqy.fnst@cn.fujitsu.com>
> > > Subject: [oe] [meta-qt5] [PATCH v2] qtbase: add ptest
> > >
> > > Add ptest for qtbase by using provided testsuite.
> > >
> > > Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
> > > ---
> > > .../0001-Delete-qlonglong-and-qulonglong.patch | 28
> > > ++++++++++++++++++++++
> > > recipes-qt/qt5/qtbase/run-ptest | 6 +++++
> > > recipes-qt/qt5/qtbase_git.bb | 17 ++++++++++++-
> > > 3 files changed, 50 insertions(+), 1 deletion(-) create mode 100644
> > > recipes-qt/qt5/qtbase/0001-Delete-qlonglong-and-qulonglong.patch
> > > create mode 100644 recipes-qt/qt5/qtbase/run-ptest
> > >
> > > diff --git a/recipes-qt/qt5/qtbase/0001-Delete-qlonglong-and-
> > qulonglong.patch
> > > b/recipes-qt/qt5/qtbase/0001-Delete-qlonglong-and-qulonglong.patch
> > > new file mode 100644
> > > index 0000000..975cd28
> > > --- /dev/null
> > > +++ b/recipes-qt/qt5/qtbase/0001-Delete-qlonglong-and-qulonglong.patch
> > > @@ -0,0 +1,28 @@
> > > +From c67a4af2e5db4c1e2213961e6392b59affd1959f Mon Sep 17 00:00:00
> > > 2001
> > > +From: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
> > > +Date: Wed, 7 Jun 2017 21:00:49 +0900
> > > +Subject: [PATCH] Delete qlonglong and qulonglong
> > > +
> > > +Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
> > > +---
> > > + tests/auto/corelib/thread/qatomicinteger/qatomicinteger.pro | 2 --
> > > + 1 file changed, 2 deletions(-)
> > > +
> > > +diff --git
> > > +a/tests/auto/corelib/thread/qatomicinteger/qatomicinteger.pro
> > > +b/tests/auto/corelib/thread/qatomicinteger/qatomicinteger.pro
> > > +index 09458bd..59a120e 100644
> > > +--- a/tests/auto/corelib/thread/qatomicinteger/qatomicinteger.pro
> > > ++++ b/tests/auto/corelib/thread/qatomicinteger/qatomicinteger.pro
> > > +@@ -5,10 +5,8 @@ SUBDIRS=\
> > > + char32_t \
> > > + int \
> > > + long \
> > > +- qlonglong \
> > > + qptrdiff \
> > > + quintptr \
> > > +- qulonglong \
> > > + schar \
> > > + short \
> > > + uchar \
> > > +--
> > > +2.7.4
> > > +
> > > diff --git a/recipes-qt/qt5/qtbase/run-ptest
> > b/recipes-qt/qt5/qtbase/run-ptest
> > > new file mode 100644 index 0000000..044f834
> > > --- /dev/null
> > > +++ b/recipes-qt/qt5/qtbase/run-ptest
> > > @@ -0,0 +1,6 @@
> > > +#!/bin/sh
> > > +
> > > +for x in ` awk '{print $1}' tst_list `;do
> > > + ./${x};
> > > +done
> > > +
> > > diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb
> > index
> > > 5cfbcfa..8464873 100644
> > > --- a/recipes-qt/qt5/qtbase_git.bb
> > > +++ b/recipes-qt/qt5/qtbase_git.bb
> > > @@ -23,8 +23,12 @@ SRC_URI += "\
> > > file://0005-configure-bump-path-length-from-256-to-512-
> > character.patch
> > > \
> > > file://0009-Disable-all-unknown-features-instead-of-erroring-out.patch
> > \
> > >
> > > file://0010-Pretend-Qt5-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch
> > > \
> > > + file://0001-Delete-qlonglong-and-qulonglong.patch \
> > > + file://run-ptest \
> > > "
> > >
> > > +inherit ptest
> > > +
> > > # only for target qtbase
> > > SRC_URI += "\
> > > file://0008-configure-paths-for-target-qmake-properly.patch \ @@
> > -48,7
> > > +52,7 @@ PACKAGECONFIG_DISTRO ?= ""
> > > PACKAGECONFIG_RELEASE ?= "release"
> > > # This is in qt5.inc, because qtwebkit-examples are using it to enable
> > > ca-certificates dependency # PACKAGECONFIG_OPENSSL ?= "openssl"
> > > -PACKAGECONFIG_DEFAULT ?= "dbus udev evdev widgets tools libs freetype"
> > > +PACKAGECONFIG_DEFAULT ?= "dbus udev evdev widgets tools libs freetype
> > > tests"
> > >
> > > PACKAGECONFIG ?= " \
> > > ${PACKAGECONFIG_RELEASE} \
> > > @@ -171,6 +175,17 @@ do_configure() {
> > > ${QT_CONFIG_FLAGS}
> > > }
> > >
> > > +fakeroot do_install_ptest() {
> > > + mkdir -p ${D}${PTEST_PATH}
> > > + t=${D}${PTEST_PATH}
> > > + for var in ` find ${B}/tests/auto/ -name tst_*`; do
> > > + if [ not ` echo ${var##*/} | grep '\.'` ]; then
> > > + echo ${var##*/} >> ${t}/tst_list
> > > + install -m 0644 ${var} ${t}
> > > + fi
> > > + done
> > > +}
> > > +
> > > do_install_append() {
> > > # Avoid qmake error "Cannot read
> > > [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or
> > directory"
> > > touch
> > > ${D}/${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/oe-device-extra.pri
> > > --
> > > 2.7.4
> >
> >
> >
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> >
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
next prev parent reply other threads:[~2017-10-02 21:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-25 1:30 [meta-qt5] [PATCH v2] qtbase: add ptest Huang Qiyu
2017-08-15 1:21 ` Huang, Qiyu
2017-08-15 9:22 ` Martin Jansa
2017-10-02 21:51 ` Denys Dmytriyenko [this message]
2017-10-03 7:53 ` Martin Jansa
2017-10-03 7:56 ` Martin Jansa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171002215123.GD16828@denix.org \
--to=denis@denix.org \
--cc=martin.jansa@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.