diff options
author | Michael Wood <michael.g.wood@intel.com> | 2016-05-19 13:59:31 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-20 10:09:03 +0100 |
commit | 085688c8ed2a95ff47ca10275726ae7cbbab0902 (patch) | |
tree | d529557d6982491f7fe03886614c41ff5451a746 /bitbake/lib/toaster/tests/builds/README | |
parent | 5ce1adb177b17dc7b7cfe1dcddd42f387482f600 (diff) | |
download | poky-085688c8ed2a95ff47ca10275726ae7cbbab0902.tar.gz |
bitbake: toaster: tests Add a BuildTest helper class
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.
(Bitbake rev: d1882371cae6b9a8296ea739e6e46ca6a6dc9da8)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/tests/builds/README')
-rw-r--r-- | bitbake/lib/toaster/tests/builds/README | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/tests/builds/README b/bitbake/lib/toaster/tests/builds/README new file mode 100644 index 0000000000..a32721eb5d --- /dev/null +++ b/bitbake/lib/toaster/tests/builds/README | |||
@@ -0,0 +1,14 @@ | |||
1 | # Running build tests | ||
2 | |||
3 | These tests are to test the running of builds and the data produced by the builds. | ||
4 | Your oe build environment must be sourced/initialised for these tests to run. | ||
5 | |||
6 | The simplest way to run the tests are the following commands: | ||
7 | |||
8 | $ . oe-init-build-env | ||
9 | $ cd lib/toaster/ # path my vary but this is into toaster's directory | ||
10 | $ DJANGO_SETTINGS_MODULE='toastermain.settings-test' ./manage.py test tests.builds | ||
11 | |||
12 | Optional environment variables: | ||
13 | - TOASTER_DIR (where toaster keeps it's artifacts) | ||
14 | - TOASTER_CONF a path to the toasterconf.json file. This will need to be set if you don't execute the tests from toaster's own directory. | ||