Ptest: Difference between revisions

From Yocto Project
Jump to navigationJump to search
(Created page with "=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= Ptes...")
(No difference)

Revision as of 13:39, 8 January 2013

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.