Hi everyone,

We recently implemented a way to detect recipes for upstream code that contain 
unit tests but does not implement ptests.
Those recipes make good candidates for increasing the ptests coverage.

This is implemented as a QA check. The check is disabled by default since it 
generates a lot of warning at build.
In order to activate it (in local.conf for exemple) :
WARN_QA += "unimplemented-ptest"

The warnings looks like:
WARNING: time-1.9-r0 do_patch: QA Issue: time: autotools-based tests detected 
[unimplemented-ptest]
 
I've generated the list for the unimplemented ptests for oe-core and for 
meta-openembedded:
  329 unimplemented-ptests_oe-core.log: 
https://gist.github.com/ycongal-smile/dd51b0e450a8f0083e9d5cc10eeeb060#file-unimplemented-ptests_oe-core-log
 1080 unimplemented-ptests_meta-openembedded.log: 
https://gist.github.com/ycongal-smile/dd51b0e450a8f0083e9d5cc10eeeb060#file-unimplemented-ptests_meta-openembedded-log

Those were generated with :
bitbake --runall patch world

... without the meta-openembedded layers for oe-core.

For meta-openembedded, I have excluded OE-core recipes from world with:
EXCLUDE_FROM_WORLD:layer-core = '1'
EXCLUDE_FROM_WORLD:layer-yoctobsp = '1'
EXCLUDE_FROM_WORLD:layer-yocto = '1'

For the curious, the code is here:
https://git.yoctoproject.org/poky/tree/meta/classes-global/insane.bbclass?id=07546cc63f5e2a1a74bd7f5cac6ad1c9948264d4#n1351

And the doc was sent here: https://lists.yoctoproject.org/g/docs/message/4335

Regards,
-- 
Yoann Congal
Smile ECS - Tech Expert
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#189433): 
https://lists.openembedded.org/g/openembedded-core/message/189433
Mute This Topic: https://lists.openembedded.org/mt/102056219/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to