[U-Boot] [PATCH 1/1] test/py: provide example scripts for integrating qemu

Stephen Warren swarren at wwwdotorg.org
Mon Sep 18 17:33:01 UTC 2017


On 09/17/2017 01:32 PM, Heinrich Schuchardt wrote:
> The necessary parameters for running Python tests on qemu are
> tediouus to find.
> 
> The patch adds examples for u-boot-test-console and
> u-boot-test-reset.

This README doesn't contain examples for other cases. I'm not sure 
whether we should add them for qemu either. Instead, does it make sense 
to augment my repo, which already contains a variety of examples, and is 
mentioned in the README?

https://github.com/swarren/uboot-test-hooks

Tom Rini already added some qemu examples to that repo, although they 
use much simpler command-lines than in the examples in this patch. 
Perhaps that's because they fire off a new qemu instance every time the 
virtual system is reset, whereas yours seem to create one qemu instance 
and then reset it multiple times. If so, your scripts are more how I 
imagined it would work; perhaps you could update Tom's scripts?


More information about the U-Boot mailing list