[Automated-testing] Questions about ptest

Tim.Bird at sony.com Tim.Bird at sony.com
Sat Nov 2 09:24:49 PDT 2019


Tim,

Here's another followup from ATS...

In my presentation on test definitions, I had some information for Yocto Project/OE
apparently about the wrong thing.

I thought I was describing ptest, but I think I was referring to an on-target oeqa thing.
I would like to get some information about YP/OE's per-package test (or ptests).

Can you provide me a reference for a ptest that has "characteristic" elements?
Reading through some of the ptest documentation, I see that there is apparently
a ptest option for busybox (that is, the OE core recipe for busybox inherits the class ptest).

What elements of the recipe constitute the ptest test-definition?
I'm thinking these are things like:
* RDEPENDS_${PN}-ptest = "zip"
* do_install_ptest()
* file://run-ptest (and the script files/run-ptest)

Has some of the support for ptest been upstreamed into busybox itself?
(for example, the recipe does not contain 'runtest', which is referenced by run-ptest.)
(also, does busybox Makefile already support the required make targets for ptest?)
Maybe there's a patch for adding the required make targets to busybox, but if
so it wasn't obvious to me which patch it was.

Thanks,
 -- Tim



More information about the automated-testing mailing list