diff options
author | Huang Qiyu <huangqy.fnst@cn.fujitsu.com> | 2017-07-12 12:58:40 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-12 10:25:00 +0200 |
commit | 1eac990617e80cdcc1aa0f5faed59b0e7112488c (patch) | |
tree | 51c8f7ccb1a4259c47f1e427e0c980ab03c8b36c | |
parent | ec8c62e06c9b07323f2a3379bd0e405f06956ced (diff) | |
download | meta-qt5-1eac990617e80cdcc1aa0f5faed59b0e7112488c.tar.gz |
qtdeclarative: add ptest
Add ptest for qttools by using provided testsuite in qtdeclarative.
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | recipes-qt/qt5/qtdeclarative/run-ptest | 5 | ||||
-rw-r--r-- | recipes-qt/qt5/qtdeclarative_git.bb | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtdeclarative/run-ptest b/recipes-qt/qt5/qtdeclarative/run-ptest new file mode 100644 index 00000000..6c3f522b --- /dev/null +++ b/recipes-qt/qt5/qtdeclarative/run-ptest | |||
@@ -0,0 +1,5 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | for x in ` awk '{print $1}' tst_list `;do | ||
4 | ./${x}; | ||
5 | done | ||
diff --git a/recipes-qt/qt5/qtdeclarative_git.bb b/recipes-qt/qt5/qtdeclarative_git.bb index c19bbd56..34a8897d 100644 --- a/recipes-qt/qt5/qtdeclarative_git.bb +++ b/recipes-qt/qt5/qtdeclarative_git.bb | |||
@@ -1,5 +1,6 @@ | |||
1 | require qt5.inc | 1 | require qt5.inc |
2 | require qt5-git.inc | 2 | require qt5-git.inc |
3 | require qt5-ptest.inc | ||
3 | 4 | ||
4 | LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial ) & ( GPL-2.0+ | LGPL-3.0 | The-Qt-Company-Commercial )" | 5 | LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial ) & ( GPL-2.0+ | LGPL-3.0 | The-Qt-Company-Commercial )" |
5 | LIC_FILES_CHKSUM = " \ | 6 | LIC_FILES_CHKSUM = " \ |