aboutsummaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/tests/builds/README
blob: 98e3e2e04796ac5c65b092a38894ca78e97ac952 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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 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:
 - 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.