Paul Eggleton
0dd3a1bc1d
bitbake: tests: add missing import
...
This was found when trying to run the data tests individually.
(Bitbake rev: e4bf4ad4b99978483541a719105c98ea124e8a34)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2014-02-28 14:50:43 +00:00
Richard Purdie
d4b9713ec6
bitbake: tests/data: Whitespace in key names is a really bad idea
...
The parser never has supported it, the datastore API did happen to work
but whitespace in key names is a really bad idea and not something I think we
should encourage or support.
Fix test case failures after excplitly ignoring it for variable expansion
purposes.
(Bitbake rev: a2074ddaba6f53962d6caf34dbd27bdbc259935b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2013-09-22 12:19:45 +01:00
Olof Johansson
96f0a39e7c
bitbake: fetch2: Add editor modelines for bb.tests.*
...
(Bitbake rev: 230e00948ba093958e8e89e9ee380444b3dad307)
Signed-off-by: Olof Johansson <olof.johansson@axis.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2013-02-17 22:32:05 +00:00
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