[OE-core] [PATCH] slang: add ptest

Stefan Strogin sstrogin at cisco.com
Thu Mar 9 16:45:51 UTC 2017


On 06/03/17 14:58, Burton, Ross wrote:
> 
> On 2 March 2017 at 17:29, Stefan Strogin <sstrogin at cisco.com <mailto:sstrogin at cisco.com>> wrote:
> 
>     +       cp -r ${S}/src/test ${D}${PTEST_PATH}/
>     +       mkdir ${D}${PTEST_PATH}/objs
>     +       cp ${S}/src/objs/libslang.a ${D}${PTEST_PATH}/objs/
> 
> 
> Why?
> 
> If this is because the tests need sltest, that's already been built and is in the package: just patch the Makefile instead.  It's also huge, so I'd be tempted to say we should strip sltest as enabling ptest for slang causes slang-dbg to increase by 2MB.
> 
> Ross

Sorry, my mistake. sltest doesn't need libslang.a for running, of course. I'll change the Makefile and resend the patch.


--
Thank you,
Stefan



More information about the Openembedded-core mailing list