generic-poky/bitbake/lib/bb
Richard Purdie 12ebec4c94 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>
2012-05-04 16:58:35 +01:00
..
fetch2 bitbake/fetch2: Fix spelling error in network access error message 2012-05-04 16:44:57 +01:00
parse ConfHandler.py: Add a hook for config parsing 2012-04-13 12:04:18 +01:00
pysh make exception handling syntax consistent 2011-06-15 11:13:13 +01:00
server bitbake: Add client socket info for BitBakeServerConnection 2012-02-23 22:52:16 +00:00
tests bitbake: Add start of bitbake regression/self testing 2012-05-04 16:58:35 +01:00
ui Hob: Issue sanity check after parse is completed 2012-04-24 10:14:48 +01:00
COW.py Apply some 2to3 refactorings 2010-07-02 15:41:37 +01:00
__init__.py Update version to 1.15.2 (correspdoning to Yocto 1.2 release) 2012-05-01 20:50:41 +01:00
build.py bb.build: use relative log links, not absolute 2012-03-29 09:44:45 +01:00
cache.py bitbake: change for adding progress bar in Hob2. 2012-02-23 22:52:17 +00:00
cache_extra.py bitbake: Add description into the cache and clean up cache duplication 2012-02-02 16:55:28 +00:00
codeparser.py codeparser: Call intern over the set contents for better cache performance 2012-03-12 15:52:33 +00:00
command.py ConfHandler.py: Add a hook for config parsing 2012-04-13 12:04:18 +01:00
compat.py bitbake: Add missing file 2011-05-07 08:49:28 +01:00
cooker.py bitbake/cooker.py: Bring into sync with upstream bitbake (trivial difference) 2012-03-31 08:07:49 +01:00
daemonize.py Apply some 2to3 transforms that don't cause issues in 2.6 2010-07-02 15:41:33 +01:00
data.py data/runqueue.py: Fix commented out test code after variable name changes 2012-01-27 09:40:05 +00:00
data_smart.py data_smart: Improve the calculation of config hash 2012-04-17 11:41:31 +01:00
event.py event.py: Add SanityCheck and SanityCheckPassed events 2012-04-24 10:14:47 +01:00
exceptions.py bb.exceptions: don't choke on frames without arguments 2011-06-08 20:38:25 +01:00
methodpool.py Consolidate the exec/eval bits, switch anonfunc to better_exec, etc 2010-07-02 15:41:31 +01:00
monitordisk.py diskspace monitor: assign a default value when only of the interval is set 2012-04-11 00:04:40 +01:00
msg.py bitbake: implement BB_VERBOSE_LOGS 2012-02-28 13:47:10 +00:00
namedtuple_with_abc.py bb.namedtuple_with_abc: add useful util from activestate 2011-06-08 20:38:23 +01:00
persist_data.py persist_data: survive if sqlite3 couldn't enable the shared cache 2012-02-22 20:25:29 +00:00
process.py make exception handling syntax consistent 2011-06-15 11:13:13 +01:00
providers.py meta/classes: Convert to use appendVar and appendVarFlags 2012-03-05 10:36:53 -08:00
runqueue.py runqueue: wait and deal with those <defunct> sub-processes as soon as they are os.killed() when "Force stop" 2012-03-30 17:20:21 +01:00
shell.py Introduce new param caches_array into Cache impl. 2011-06-07 22:39:52 +01:00
siggen.py siggen.py: Use basehash if no taskhash 2012-03-12 02:26:23 +00:00
taskdata.py taskdata: fix string formatting of an error message 2011-09-20 22:22:21 +01:00
utils.py bitbake/utils: Convert vercmp_string() to use vercmp internally 2012-05-04 16:44:57 +01:00