From: Michael Wood Date: Mon, 25 Apr 2016 18:04:56 +0000 (+0100) Subject: toaster: tests Add a BuildTest helper class X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cafb16033b2f38156e6e0a74c02120f87a4fa92;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Michael Wood Signed-off-by: Elliot Smith --- diff --git a/lib/toaster/tests/builds/README b/lib/toaster/tests/builds/README index a32721eb5d9..98e3e2e0479 100644 --- a/lib/toaster/tests/builds/README +++ b/lib/toaster/tests/builds/README @@ -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: