Skip to contentSkip to conversation

ltp: Skip the filedependency scan

PATCH New Mark Hatle 1 participant 1 message Aug 16, 2017

lore
Share & tools
lore

Mark Hatle

author
#0 lore raw

PATCH 1/1 ltp: Skip the filedependency scan

Since LTP includes a set of test cases, we need to skip file dependency generation, as there will be dependencies that can not be satisfied. In this case a csh and ksh dependency come from two tests.

The alternative would be to depend on csh/ksh (a bad idea as they're not available in oe-core) or remove the tests (but this eliminates the tests if someone DOES have csh/ksh in their configurations.)

---
 meta/recipes-extended/ltp/ltp_20170516.bb | 6 ++++++
 1 file changed, 6 insertions(+)
meta/recipes-extended/ltp/ltp_20170516.bb +6 -0
index 665e08f..1d0cc1a 100644
@@ -114,3 +114,9 @@ INHIBIT_PACKAGE_STRIP = "1"
 INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
 # However, test_arch_stripped is already stripped, so...
 INSANE_SKIP_${PN} += "already-stripped"
+
+# Avoid file dependency scans, as LTP checks for things that may or may not
+# exist on the running system.  For instance it has specific checks for
+# csh and ksh which are not typically part of OpenEmbedded systems (but
+# can be added via additional layers.)
+SKIP_FILEDEPS_${PN} = '1'
Signature · 1 line
1.8.3.1