Skip to contentSkip to conversation

test, tools: update tbot documentation

PATCH In review Heiko Schocher 2 participants 2 messages Apr 28, 2016 – May 13, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 test, tools: update tbot documentation

update tbot documentation in U-Boot, as I just
merged the event system into tbots master
branch.

---
Infos about tbots event system:
https://github.com/hsdenx/tbot/blob/master/doc/README.event

A demo result webpage of playing with the event system can be found here:
http://xeidos.ddns.net/tests/test_db_auslesen.php

What is done here:
After tbot finished with the testcase, it calls some event backends. They for example add some infos into a mysql database (like which defconfig used for compiling U-Boot, the U-Boot version string from the resulting binary).
Also a backend creates a statistic image with gnuplot, and another a "dot" graphics from the Events, called testcases created ... click on the links on above webpage ;-)

The data in the database can then be displayed with php. The above link is just a simple html table for demo purpose. It would be nice to enhance this sometime.

 tools/tbot/README         |  10 ++
 tools/tbot/README.install | 246 ++++++++++++++++++----------------------------
 2 files changed, 103 insertions(+), 153 deletions(-)
tools/tbot/README +10 -0
index a637a63..49b9e95 100644
@@ -92,6 +92,16 @@ https://github.com/hsdenx/tbot/blob/master/doc/tbot_structure.png )
 
   It is possible to switch in a single TC between board states.
 
+- Events
+  tbot creates while executing testcases so called events.
+  After tbot ended with the testcase it can call event_backends,
+  which convert the events to different formats. more info:
+
+  https://github.com/hsdenx/tbot/blob/master/doc/README.event
+
+  demo for a event backend:
+  http://xeidos.ddns.net/tests/test_db_auslesen.php
+
 - tbot cmdline parameters:
 
 $ python2.7 src/common/tbot.py --help
tools/tbot/README.install +93 -153

286 lines not on this page · raw message

Signature · 1 line
2.5.5
#1 lore raw
Quoted 5 lines · Heiko Schocher

update tbot documentation in U-Boot, as I just
merged the event system into tbots master
branch.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160513/5f63edcb/attachment.sig>