diff options
Diffstat (limited to 'bitbake/lib/toaster/tests/builds/README')
-rw-r--r-- | bitbake/lib/toaster/tests/builds/README | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/tests/builds/README b/bitbake/lib/toaster/tests/builds/README new file mode 100644 index 0000000000..a32721eb5d --- /dev/null +++ b/bitbake/lib/toaster/tests/builds/README | |||
@@ -0,0 +1,14 @@ | |||
1 | # Running build tests | ||
2 | |||
3 | These tests are to test the running of builds and the data produced by the builds. | ||
4 | Your oe build environment must be sourced/initialised for these tests to run. | ||
5 | |||
6 | The simplest way to run the tests are the following commands: | ||
7 | |||
8 | $ . oe-init-build-env | ||
9 | $ cd 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 | |||
12 | Optional 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. | ||