Skip to contentSkip to conversation

salt-tests: Disable staticdev QAWarning

PATCH In review Collin Richards 2 participants 2 messages Jul 15, 2016 – Jul 21, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 salt-tests: Disable staticdev QAWarning

The salt-test package uses files with .a extensions in it's tests. These are used in tests that inspect the tree structure of the file system and have nothing to do with static libraries.

This triggers an OE QAWarning. Skip the staticdev check for this package to disable this warning.

Natinst-ReviewBoard-ID: 145293

---
 meta-openstack/recipes-support/salt/salt_2016.3.0.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-openstack/recipes-support/salt/salt_2016.3.0.bb +4 -0
index a99296a..7024f42 100644
@@ -35,6 +35,10 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 inherit setuptools update-rc.d
 
+# Avoid a QA Warning triggered by the test package including a file
+# with a .a extension
+INSANE_SKIP_${PN}-tests += "staticdev"
+
 # Note ${PN}-tests must be before ${PN}-common in the PACKAGES variable
 # in order for ${PN}-tests to own the correct FILES.
 PACKAGES += "\
Signature · 1 line
1.9.1
#1 lore raw
Quoted 7 lines · Collin Richards

The salt-test package uses files with .a extensions in it's tests. These are used in tests that inspect the tree structure of the file system and have nothing to do with static libraries.

This triggers an OE QAWarning. Skip the staticdev check for this package to disable this warning.

merged.

Bruce

Quoted 32 lines

Natinst-ReviewBoard-ID: 145293

---
 meta-openstack/recipes-support/salt/salt_2016.3.0.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-openstack/recipes-support/salt/salt_2016.3.0.bb +4 -1
index a99296a..7024f42 100644
@@ -35,6 +35,10 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 inherit setuptools update-rc.d
 
+# Avoid a QA Warning triggered by the test package including a file
+# with a .a extension
+INSANE_SKIP_${PN}-tests += "staticdev"
+
 # Note ${PN}-tests must be before ${PN}-common in the PACKAGES variable
 # in order for ${PN}-tests to own the correct FILES.
 PACKAGES += "\
--

1.9.1

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"