Ptest

From Yocto Project
Revision as of 13:39, 8 January 2013 by BjornStenberg (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.