bitbake: Add start of bitbake regression/self testing
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 4 May 2012 15:18:55 +0000 (16:18 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 4 May 2012 15:58:35 +0000 (16:58 +0100)
commit92cebd3f28120fa8961a13c27d617078e7eddd2b
treee247d5de777f25884a7cad310ad0c4796cb62644
parent5e7470a3be513ef7cdfc3c3fa22e48b353c99299
bitbake: Add start of bitbake regression/self testing

This adds some basic unit testing for the codeparser and data store code. Many of
the actual test cases were taken from work by Chris Larson's OE-Signatures work but with
changes to adapt to the current bitbake APIs we need to test.

I also imported CoW tests written by Holger Freyther from the original bitbake-test
codebase: http://svn.berlios.de/wsvn/bitbake/trunk/bitbake-tests/tests/ and
some tests from the doctests that were removed in commit:
http://git.openembedded.org/bitbake/commit?id=3a11c2807972bbbddffde2fa67fc380d159da467

(Bitbake rev: ae4a95780e3e08cf73c854efa8cd93379e00c4e5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/bin/bitbake-selftest [new file with mode: 0644]
bitbake/lib/bb/tests/codeparser.py [new file with mode: 0644]
bitbake/lib/bb/tests/cow.py [new file with mode: 0644]
bitbake/lib/bb/tests/data.py [new file with mode: 0644]
bitbake/lib/bb/tests/fetch.py [new file with mode: 0644]
bitbake/lib/bb/tests/utils.py [new file with mode: 0644]