Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 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 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 | |
| 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. |