diff options
author | Michael Wood <michael.g.wood@intel.com> | 2016-04-25 19:04:56 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-15 08:35:03 +0100 |
commit | 64622029d7226c64bc1c92bf9680119946cf8b81 (patch) | |
tree | 8ed4f41d075ef6ed365f0c8d3785d641a35e2d53 /bitbake/lib/toaster/tests/builds | |
parent | 6f924f394acda5e79f5377f4aab8fb6cb052545a (diff) | |
download | poky-64622029d7226c64bc1c92bf9680119946cf8b81.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: 2cafb16033b2f38156e6e0a74c02120f87a4fa92)
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')
-rw-r--r-- | bitbake/lib/toaster/tests/builds/README | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/tests/builds/README b/bitbake/lib/toaster/tests/builds/README index a32721eb5d..98e3e2e047 100644 --- a/bitbake/lib/toaster/tests/builds/README +++ b/bitbake/lib/toaster/tests/builds/README | |||
@@ -6,7 +6,7 @@ Your oe build environment must be sourced/initialised for these tests to run. | |||
6 | The simplest way to run the tests are the following commands: | 6 | The simplest way to run the tests are the following commands: |
7 | 7 | ||
8 | $ . oe-init-build-env | 8 | $ . oe-init-build-env |
9 | $ cd lib/toaster/ # path my vary but this is into toaster's directory | 9 | $ cd bitbake/lib/toaster/ # path my vary but this is into toaster's directory |
10 | $ DJANGO_SETTINGS_MODULE='toastermain.settings-test' ./manage.py test tests.builds | 10 | $ DJANGO_SETTINGS_MODULE='toastermain.settings-test' ./manage.py test tests.builds |
11 | 11 | ||
12 | Optional environment variables: | 12 | Optional environment variables: |