From ae4a95780e3e08cf73c854efa8cd93379e00c4e5 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 4 May 2012 16:18:55 +0100 Subject: 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 Signed-off-by: Richard Purdie --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index bc2815d88..167692d31 100755 --- a/setup.py +++ b/setup.py @@ -54,9 +54,9 @@ setup(name='bitbake', requires = ["ply", "progressbar"], package_dir = {"": "lib"}, packages = ["bb.server", "bb.parse.parse_py", "bb.parse", - "bb.fetch2", "bb.ui.crumbs", "bb.ui", "bb.pysh", "bb", "prserv"], + "bb.fetch2", "bb.ui.crumbs", "bb.ui", "bb.pysh", "bb", "prserv", "bb.tests"], py_modules = ["codegen"], - scripts = ["bin/bitbake", "bin/bitbake-layers", "bin/bitbake-diffsigs", "bin/bitbake-prserv"], + scripts = ["bin/bitbake", "bin/bitbake-layers", "bin/bitbake-diffsigs", "bin/bitbake-prserv", "bitbake-selftest"], data_files = [("share/bitbake", glob("conf/*") + glob("classes/*")), ("share/doc/bitbake-%s/manual" % __version__, glob("doc/manual/html/*"))], cmdclass = { -- cgit 1.2.3-korg