[test] core-image-patchtest: avoid skip parse recipe

Submitted by changqing.li@windriver.com on March 5, 2019, 9:59 a.m. | Patch ID: 159296

Details

Message ID 1551779986-178606-1-git-send-email-changqing.li@windriver.com
State New
Headers show

Commit Message

changqing.li@windriver.com March 5, 2019, 9:59 a.m.
From: Changqing Li <changqing.li@windriver.com>

patchtest [1] failed since the recipe is skipparsed since it defines
REQUIRED_DISTRO_FEATURES.  patchtest don't really need
DISTRO_FEATURES, so fix the problem by set REQUIRED_DISTRO_FEATURES/
COMPATIBLE_MACHINE/COMPATIBLE_HOST to "" to avoid skip parse

[Yocto #13005]

[1] https://patchwork.openembedded.org/series/9949/

Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
 meta-patchtest/recipes-core/images/core-image-patchtest.bb | 3 +++
 1 file changed, 3 insertions(+)

Patch hide | download patch | download mbox

diff --git a/meta-patchtest/recipes-core/images/core-image-patchtest.bb b/meta-patchtest/recipes-core/images/core-image-patchtest.bb
index 47e4041..95279d2 100644
--- a/meta-patchtest/recipes-core/images/core-image-patchtest.bb
+++ b/meta-patchtest/recipes-core/images/core-image-patchtest.bb
@@ -30,6 +30,9 @@  TMPBUILD="\$(mktemp -d)"
 BRANCH="\$(get-target-branch \$REPO \$MBOX | awk '{print \$NF}')"
 cd \$REPO
 source ./oe-init-build-env \$TMPBUILD
+echo "COMPATIBLE_MACHINE_qemuall = \\"\\"" >> \$TMPBUILD/conf/local.conf
+echo "COMPATIBLE_HOST_qemuall = \\"\\"" >> \$TMPBUILD/conf/local.conf
+echo "REQUIRED_DISTRO_FEATURES_qemuall = \\"\\"" >> \$TMPBUILD/conf/local.conf
 test-mboxes -r \$REPO -s \$SUITESTART -m \$MBOX -o \$RESULTS -- --base-branch \$BRANCH
 rm -rf \$TMPBUILD
  }

Comments

changqing.li@windriver.com April 29, 2019, 6:10 a.m.
ping

On 3/5/19 5:59 PM, changqing.li@windriver.com wrote:
> From: Changqing Li <changqing.li@windriver.com>
>
> patchtest [1] failed since the recipe is skipparsed since it defines
> REQUIRED_DISTRO_FEATURES.  patchtest don't really need
> DISTRO_FEATURES, so fix the problem by set REQUIRED_DISTRO_FEATURES/
> COMPATIBLE_MACHINE/COMPATIBLE_HOST to "" to avoid skip parse
>
> [Yocto #13005]
>
> [1] https://patchwork.openembedded.org/series/9949/
>
> Signed-off-by: Changqing Li <changqing.li@windriver.com>
> ---
>   meta-patchtest/recipes-core/images/core-image-patchtest.bb | 3 +++
>   1 file changed, 3 insertions(+)
>
> diff --git a/meta-patchtest/recipes-core/images/core-image-patchtest.bb b/meta-patchtest/recipes-core/images/core-image-patchtest.bb
> index 47e4041..95279d2 100644
> --- a/meta-patchtest/recipes-core/images/core-image-patchtest.bb
> +++ b/meta-patchtest/recipes-core/images/core-image-patchtest.bb
> @@ -30,6 +30,9 @@ TMPBUILD="\$(mktemp -d)"
>   BRANCH="\$(get-target-branch \$REPO \$MBOX | awk '{print \$NF}')"
>   cd \$REPO
>   source ./oe-init-build-env \$TMPBUILD
> +echo "COMPATIBLE_MACHINE_qemuall = \\"\\"" >> \$TMPBUILD/conf/local.conf
> +echo "COMPATIBLE_HOST_qemuall = \\"\\"" >> \$TMPBUILD/conf/local.conf
> +echo "REQUIRED_DISTRO_FEATURES_qemuall = \\"\\"" >> \$TMPBUILD/conf/local.conf
>   test-mboxes -r \$REPO -s \$SUITESTART -m \$MBOX -o \$RESULTS -- --base-branch \$BRANCH
>   rm -rf \$TMPBUILD
>    }