Skip to contentSkip to conversation

core-image-patchtest: avoid skip parse recipe

PATCH In review [email protected] 1 participant 2 messages Mar 5, 2019 – Apr 29, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 core-image-patchtest: avoid skip parse recipe

From: Changqing Li <[email protected]>

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/

---
 meta-patchtest/recipes-core/images/core-image-patchtest.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-patchtest/recipes-core/images/core-image-patchtest.bb +3 -0
index 47e4041..95279d2 100644
@@ -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
  }
Signature · 1 line
2.7.4
#1 lore raw

ping

Quoted 30 lines · On 3/5/19 5:59 PM, [email protected] wrote:

From: Changqing Li <[email protected]>

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/

---
  meta-patchtest/recipes-core/images/core-image-patchtest.bb | 3 +++
  1 file changed, 3 insertions(+)
meta-patchtest/recipes-core/images/core-image-patchtest.bb +3 -0
index 47e4041..95279d2 100644
@@ -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
   }
Signature · 3 lines
BRs

Sandy(Li Changqing)