path: root/bitbake/lib/toaster/tests/eventreplay
diff options
authorEd Bartosh <>2016-10-31 16:40:40 +0000
committerRichard Purdie <>2016-11-04 12:50:56 +0000
commitb8cabc7ed378c1b34666216ce39d7165f226053f (patch)
treed5d69d7032de114e051d7bc5f1ba6f1532fbacfb /bitbake/lib/toaster/tests/eventreplay
parent934c9efa6670f08d9f0b14b496262f372cafab99 (diff)
bitbake: toaster: add tests/eventreplay/README
Put instructions on how to prepare event log files and run eventreplay tests. (Bitbake rev: 0e675547166acc8650498e153bd3482420342c32) Signed-off-by: Ed Bartosh <> Signed-off-by: Michael Wood <> Signed-off-by: Richard Purdie <>
Diffstat (limited to 'bitbake/lib/toaster/tests/eventreplay')
1 files changed, 22 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/tests/eventreplay/README b/bitbake/lib/toaster/tests/eventreplay/README
new file mode 100644
index 0000000000..8c5bb64323
--- /dev/null
+++ b/bitbake/lib/toaster/tests/eventreplay/README
@@ -0,0 +1,22 @@
+# Running eventreplay tests
+These tests use event log files produced by bitbake <target> -w <event log file>
+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:
+and 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
+$ rm -rf tmp sstate-cache
+$ bitbake zlib -w
+After that it should be possible to run eventreplay tests this way:
+$ EVENTREPLAY_DIR=./ DJANGO_SETTINGS_MODULE=toastermain.settings_test ../bitbake/lib/toaster/ test -v2 tests.eventreplay
+Note that environment variable EVENTREPLAY_DIR should point to the directory with event log files.