Ptest
From Yocto Project
Jump to navigationJump to search
Introduction
Ptest (package test) is a concept for building, installing and running the test suites that are included in many packages.
Adding ptest to your build
Ptest is enabled in your build by adding "ptest" to the DISTRO_FEATURES variable. This will cause ptest-enabled packages to build and install ptest files into /usr/lib/<pkgname>/ptest.
Running ptest
The "ptest-runner" package installs a "ptest-runner" shell script which loops through all install ptest test suites and runs them in sequence.