Files
poky/bitbake/lib/toaster/tests/eventreplay
Richard Purdie 9501864db8 bitbake: bitbake: Strip old editor directives from file headers
There are much better ways to handle this and most editors shouldn't need this
in modern times, drop the noise from the files. Its not consitently applied
anyway.

(Bitbake rev: 5e43070e3087d09aea2f459b033d035c5ef747d0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-04 10:44:10 +01:00
..

Running eventreplay tests

These tests use event log files produced by bitbake -w You need to have event log files produced before running this tests.

At the moment of writing this document tests use 2 event log files: zlib.events and core-image-minimal.events. They're not provided with the tests due to their significant size.

Here is how to produce them:

$ . oe-init-build-env $ rm -r tmp sstate-cache $ bitbake core-image-minimal -w core-image-minimal.events $ rm -rf tmp sstate-cache $ bitbake zlib -w zlib.events

After that it should be possible to run eventreplay tests this way:

$ EVENTREPLAY_DIR=./ DJANGO_SETTINGS_MODULE=toastermain.settings_test ../bitbake/lib/toaster/manage.py test -v2 tests.eventreplay

Note that environment variable EVENTREPLAY_DIR should point to the directory with event log files.