Python C Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
doc
log
scripts/demo/documentation_backend
src
.gitignore
README.md
ToDo
all_denx_boards.sh
demo.gif
password-test.py
password.py
reformat_logfile.sh
smartweb_demo.png

README.md

##tbot

Table of Contents

Short description

Usage

$ tbot.py --help
Usage: tbot.py [options]

Options:
  -h, --help            show this help message and exit
  -c CFGFILE, --cfgfile=CFGFILE
                        the tbot board configfilename
  -s LABFILE, --slabfile=LABFILE
                        the tbot lab configfilename
  -a ARGUMENTS, --arguments ARGUMENTS
                        arguments for the testcase
  -l LOGFILE, --logfile=LOGFILE
                        the tbot logfilename, if default, tbot creates a
                        defaultnamelogfile
  -t TC, --testcase=TC  the testcase which should be run
  -v, --verbose         be verbose, print all read/write to stdout
  -e EVENTSIM, --event EVENTSIM
                        open eventlogfile and run it
  -p PWFILE, --pwfile PWFILE
                        used password file
  -w WORKDIR, --workdir=WORKDIR
                        set workdir, default os.getcwd()

Demo

click on the gif to see the full video on youtube

Demo tbot

demo video for a CAN bus testcase:

https://youtu.be/hl7gI4b9CG8

demo for a buildbot integration:

http://xeidos.ddns.net/buildbot/tgrid

Documentation

look for more documentation at:

http://www.tbot.tools/main.html

Installation

http://www.tbot.tools/overview.html#installation

Guide for installing tbot with the BeagleBoneBlack

http://www.tbot.tools/guide.html

Contributing

You can submit your patches or post questions reagarding the project to the tbot Mailing List:

tbot@lists.denx.de

General information about the mailing list is at:

http://lists.denx.de/listinfo/tbot

When creating patches, please use something like:

git format-patch -s

Please use 'git send- email' to send the generated patches to the ML to bypass changes from your mailer.

Building docs

$ python2.7 doc/doc_rst.py

Building html docs with sphinx:

see info about sphinx installation: http://www.sphinx-doc.org/en/stable/install.html

$ make html

create html version:

$ cd doc/sphinx
$ make html

New Documentation now in doc/sphinx/build/html/main.html

$ firefox doc/sphinx/build/html/main.html

Documentation of Testcases:

http://www.tbot.tools/_static/doc_testcases.html

PDF version:

you need rst2pdf installed, for example with:

$ pip install rst2pdf

Then you can create a pdf version of the tbot documentation with:

$ cd doc/sphinx
$ sphinx-build -b pdf source build/pdf

PDF version of the documentation now in doc/sphinx/build/pdf/tbot_doc.pdf

$ okular doc/sphinx/build/pdf/tbot_doc.pdf

create man pages

$ cd doc/sphinx
$ sphinx-build -b man source build/man;man build/man/tbot.1
$ man doc/sphinx/build/man/tbot.1

Author

Heiko Schocher

License

GPLv2