generic-poky/meta
Stefan Stanacar 645dd61cd2 scripts/oe-selftest: script to run builds as unittest against bitbake or various scripts
The purpose of oe-selftest is to run unittest modules added from meta/lib/oeqa/selftest,
which are tests against bitbake tools.

Right now the script it's useful for simple tests like:
  - "bitbake --someoption, change some metadata, bitbake X, check something" type scenarios (PR service, error output, etc)
  - or "bitbake-layers <...>" type scripts and yocto-bsp tools.

This commit also adds some helper modules that the tests will use and a base class.
Also, most of the tests will have a dependency on a meta-selftest layer
which contains specially modified recipes/bbappends/include files for the purpose of the tests.
The tests themselves will usually write to ".inc" files from the layer or in conf/selftest.inc
(which is added as an include in local.conf at the start and removed at the end)

It's a simple matter or sourcing the enviroment, adding the meta-selftest layer to bblayers.conf
and running: oe-selftest to get some results. It would finish faster if at least a core-image-minimal
was built before.

[ YOCTO #4740 ]

(From OE-Core rev: 41a4f8fb005328d3a631a9036ceb6dcf75754410)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-03 17:45:50 +00:00
..
classes classes/buildhistory: do git garbage collection after committing 2013-12-03 17:45:50 +00:00
conf security_flags: grub-efi-natve does not build with flags enabled 2013-11-24 12:25:33 +00:00
files device_table-minimal.txt: change group of /dev/hda back to disk 2013-10-14 16:55:24 +01:00
lib scripts/oe-selftest: script to run builds as unittest against bitbake or various scripts 2013-12-03 17:45:50 +00:00
recipes-bsp alsa-state: add status command 2013-11-30 22:26:28 +00:00
recipes-connectivity ppp: add status command 2013-11-30 22:26:27 +00:00
recipes-core eglibc-initial.inc: Drop duplicate include 2013-12-02 11:28:26 +00:00
recipes-devtools gcc-cross-canadian: Fix fortran build 2013-12-02 11:28:27 +00:00
recipes-extended hdparm: make wiper appear before hdparm in PACKAGES 2013-11-30 22:26:27 +00:00
recipes-gnome librsvg: upgrade to 2.40.1 2013-11-29 09:52:55 +00:00
recipes-graphics libsdl: Clean up configure option QA warnings 2013-11-30 22:26:26 +00:00
recipes-kernel babeltrace: correct PV variable 2013-12-03 12:41:31 +00:00
recipes-lsb4 libpng: set reasonable SUMMARY 2013-11-27 11:51:25 +00:00
recipes-multimedia libav: install libraries to right directory when multilib is enabled 2013-11-29 09:52:58 +00:00
recipes-qt qt4-x11-free: depend on ICU 2013-11-30 22:26:29 +00:00
recipes-rt rt-tests: add Upstream-Status for cyclictest patch 2013-07-29 13:09:03 +01:00
recipes-sato webkit/midori: block to build webkit on mips64 with libn32 ABI 2013-11-30 22:26:28 +00:00
recipes-support sqlite3: Fix configure option warning 2013-11-30 22:26:29 +00:00
site native: Use a native site file and ensure the correct sed is used 2013-09-30 22:11:57 +01:00
COPYING.MIT
recipes.txt meta/recipes.txt: add recipes-lsb4 2013-04-10 09:23:17 +01:00