Add a helper class for running build tests. Subclass this and call the
build method to get setup for running tests on the resulting data from a
build.
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
The simplest way to run the tests are the following commands:
$ . oe-init-build-env
-$ cd lib/toaster/ # path my vary but this is into toaster's directory
+$ cd bitbake/lib/toaster/ # path my vary but this is into toaster's directory
$ DJANGO_SETTINGS_MODULE='toastermain.settings-test' ./manage.py test tests.builds
Optional environment variables: