• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

labgrid-project / labgrid / 364 / 1
55%
master: 55%

Build:
DEFAULT BRANCH: master
Ran 14 Jun 2017 08:09AM UTC
Files 83
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Jun 2017 08:04AM UTC coverage: 50.981% (-0.8%) from 51.801%
364.1

push

travis-ci

jluebbe
ShellDriver: implement file transfer support via XMODEM

This implementation starts the respective sender or receiver on the
target and then uses tehmaze's xmodem Python implementation [1] to
transfer files over the serial console. It can work with busybox's rx
(only for receiving) or lrz/lsz from lrzsz [2] (for receiving and
sending) on the target, and autodetects which commands are available.

XMODEM is a very simple, but also very historic protocol with some
quirks. See the comment in labgrid.driver.ShellDriver._put() for some
insight and workarounds.

Unfortunately, after the peer on the target has been started, there is
no way to stop it if the transfer fails and get back to a shell prompt,
since the peer on the target interprets everything on the console as
XMODEM messages. lsz's --min-bps option does not seem to work very good
(but is included nevertheless for the sake of trying), so powercycling
the target is possibly the best way to get rid of such situations.

This patch also includes support for uploading and running scripts onto
the target to make it easier for the user to automate more complex
scenarios.

[1]: https://github.com/tehmaze/xmodem
[2]: https://ohse.de/uwe/software/lrzsz.html

Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>

1975 of 3874 relevant lines covered (50.98%)

0.51 hits per line

Source Files on job 364.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 364
  • Travis Job 364.1
  • 7521f159 on github
  • Prev Job for on master (#362.1)
  • Next Job for on master (#368.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc