Sorry for my errors, I have added the "ltp-staticdev" to my IMAGE_INSTALL_append,

so the nm01 test case have passed.


On 2017年12月02日 00:01, Tim Orling wrote:
On Fri, Dec 1, 2017 at 6:52 AM Khem Raj <[email protected] <mailto:[email protected]>> wrote:

    On Thu, Nov 30, 2017 at 10:58 PM, Dengke Du
    <[email protected] <mailto:[email protected]>> wrote:
    > The test case nm01 depends on /opt/ltp/testcases/data/nm01/lib.a in
    > ltp-staticdev package.
    >

    perhaps its better to create a packaging exception to include this
    static
    library to be packaged into ${PN}

    > Signed-off-by: Dengke Du <[email protected]
    <mailto:[email protected]>>
    > ---
    >  meta/recipes-extended/ltp/ltp_20170929.bb
    <http://ltp_20170929.bb> | 1 +
    >  1 file changed, 1 insertion(+)
    >
    > diff --git a/meta/recipes-extended/ltp/ltp_20170929.bb
    <http://ltp_20170929.bb>
    b/meta/recipes-extended/ltp/ltp_20170929.bb <http://ltp_20170929.bb>
    > index 93a59b3..6fd280c 100644
    > --- a/meta/recipes-extended/ltp/ltp_20170929.bb
    <http://ltp_20170929.bb>
    > +++ b/meta/recipes-extended/ltp/ltp_20170929.bb
    <http://ltp_20170929.bb>
    > @@ -108,6 +108,7 @@ RDEPENDS_${PN} = "\
    >  FILES_${PN}-staticdev += "/opt/ltp/lib/libmem.a
    /opt/ltp/testcases/data/nm01/lib.a"
    >
    >  FILES_${PN} += "/opt/ltp/* /opt/ltp/runtest/*
    /opt/ltp/scenario_groups/* /opt/ltp/testcases/bin/*
    /opt/ltp/testcases/bin/*/bin/* /opt/ltp/testscripts/*
    /opt/ltp/testcases/open_posix_testsuite/*
    /opt/ltp/testcases/open_posix_testsuite/conformance/*
    /opt/ltp/testcases/open_posix_testsuite/Documentation/*
    /opt/ltp/testcases/open_posix_testsuite/functional/*
    /opt/ltp/testcases/open_posix_testsuite/include/*
    /opt/ltp/testcases/open_posix_testsuite/scripts/*
    /opt/ltp/testcases/open_posix_testsuite/stress/*
    /opt/ltp/testcases/open_posix_testsuite/tools/*"
    > +RDEPENDES_${PN} += "${PN}-staticdev"


Typo in RDEPENDS
Please make sure you test patches before submitting. This could not have worked as intended.

    >
    >  # Avoid generated binaries stripping. Otherwise some of the ltp
    tests such as ldd01 & nm01 fails
    >  INHIBIT_PACKAGE_STRIP = "1"
    > --
    > 2.8.1
    >
    > --
    > _______________________________________________
    > Openembedded-core mailing list
    > [email protected]
    <mailto:[email protected]>
    > http://lists.openembedded.org/mailman/listinfo/openembedded-core
    --
    _______________________________________________
    Openembedded-core mailing list
    [email protected]
    <mailto:[email protected]>
    http://lists.openembedded.org/mailman/listinfo/openembedded-core


-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to