blob: 4a3b5328b86ffe336fabe8832ff7c90c6534c471 [file] [log] [blame]
Patrick Williamsc0f7c042017-02-23 20:41:17 -06001# Running build tests
2
3These tests are to test the running of builds and the data produced by the builds.
4Your oe build environment must be sourced/initialised for these tests to run.
5
6The simplest way to run the tests are the following commands:
7
8$ . oe-init-build-env
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
11
12Optional 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.