]> code.ossystems Code Review - openembedded-core.git/commitdiff
ltp: Skip the filedependency scan
authorMark Hatle <mark.hatle@windriver.com>
Wed, 16 Aug 2017 15:55:21 +0000 (10:55 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 16 Aug 2017 16:42:42 +0000 (17:42 +0100)
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.)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/ltp/ltp_20170516.bb

index 665e08f20470520a4ff8dfb3ab7b7c7e4e7db18e..1d0cc1af3a3c02d35eb5d0ce3c3204da5203d259 100644 (file)
@@ -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'