Skip to contentSkip to conversation

Script based testing?

U-Boot-Users Charles J Gillan 2 participants 2 messages Aug 17, 2005

lore
Share & tools
lore
#0 lore raw

We are planning to write some Perl scripts to automate our testing and

we will use the U-Boot shell via the serial interface.

This is appealing because, for example, we can put tests into lengthy repeat

loops and run them automatically to stress our board.

We will use some of our own custom commands that we added to the build for the

FPGAs on our board but it seems to us very likely that this script based testing

has probably been done before by many U-Boot users for the "common" commands

that are in the build.

I am aware of the Kermit scripts in the tools/scripts directory but they perform only

a few commands.

I checked the mail archive at SourceForge but found nothing relevant, so I am

raising this on the list myself.

Are there any existing scripts (Perl or any other language) for U-Boot command line

testing and that are in the public domain already ?

Thanks,

Charles.

----------------------------------------------------------------------------
--------

Dr Charles J Gillan

The Institute of Electronics, Communications and

Information Technology (ECIT),

Queen's University Belfast, Titanic Quarter

Queen's Road, Queen's Island, Belfast, BT3 9DT

Northern Ireland, UK

Tel: +44 (0) 2890 971847

Fax: +44 (0) 2890 971702

----------------------------------------------------------------------------
--------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20050817/c6c01256/attachment.htm

#1 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

We are planning to write some Perl scripts to automate our testing and we will use the U-Boot shell via the serial interface.

Why Perl? expect seems to be more appropriate for such a task.

Quoted 3 lines

Are there any existing scripts (Perl or any other language) for U-Boot command line
testing and that are in the public domain already ?

Not yet.

Quoted 11 lines

------=_NextPart_000_0104_01C5A34F.CAA78FD0
Content-Type: text/html;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" = xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>

Arghh... NEVER post HTML on this list.

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It's hard to make a program foolproof because fools are so ingenious.