]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
toaster: tests Add a BuildTest helper class
authorMichael Wood <michael.g.wood@intel.com>
Mon, 25 Apr 2016 18:04:56 +0000 (19:04 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 13 Jun 2016 21:04:29 +0000 (22:04 +0100)
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>
lib/toaster/tests/builds/README

index a32721eb5d937bcc406586a50f7b42dc02ae9a37..98e3e2e04796ac5c65b092a38894ca78e97ac952 100644 (file)
@@ -6,7 +6,7 @@ Your oe build environment must be sourced/initialised for these tests to run.
 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: