mirror of
https://git.yoctoproject.org/poky
synced 2026-03-28 19:02:22 +01:00
Task.SSTATE_NA and Task.SSTATE_MISS are both valid conditions for the condition that a Task.OUTCOME_COVERED and Task.OUTCOME_PREBUILT. (Bitbake rev: acac9bf660ac5939beb64d7b8d55541dea1c7b4e) 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>
Running build tests
These tests are to test the running of builds and the data produced by the builds. 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 $ DJANGO_SETTINGS_MODULE='toastermain.settings-test' ./manage.py test tests.builds
Optional environment variables:
- TOASTER_DIR (where toaster keeps it's artifacts)
- 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.