avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Regression tests


From: Klaus Rudolph
Subject: Re: [avr-gcc-list] Regression tests
Date: Tue, 15 Nov 2005 12:58:05 +0100 (MET)

Hi David,

I have a lot of regression tests running for my embedded code. I use
my simulator (simulavrxx) which also give the ability to manipulate external
pin states and interconnections between multiple avr devices. A lot of
timing parameters could be measured also
under differnt interrupt conditions so that worst case tests could be
done. I think this could never work in real hardware, also jtag give
not full access in real time environment.

Bye
  Klaus


> I've seen on the avr-libc-dev list that regression tests were used and on 
> avr-freaks[1] that one guy was building a test suite for his embedded  
> applications but he didn't tell anything about how to do it.
> 
> My question is wether it's possible or not to use regression tests for C  
> embedded applications. I can't imagine how this can work with hardware  
> related functions. What do you use it for in avr-libc developmment?
> 
> I coudn't find much information on the subject. I found some keywords like
>  
> Avrora, gdb serial protocol, MUL, dejagnu but couldn't get any clear idea 
> standing out of all this.
> 
> Thanks for any clarification,
> 
> David Bourgeois, still on his quest towards better programming :-)
> 
> [1]  
>
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=25684&highlight=regression
> "Build a test suite, as early as possible. Start small, and plan for  
> growth.
> Add (at least) one new test for every new feature or resolved bug.
> Make it easy and (reasonably) quick to run, so no one has an excuse
> for not running it before Every check-in. I have been repeatedly
> rescued by the Regression Test Suite when I've inadvertantly stuck my
> elbow into something. Moreover, the very exercise of writing the tests
> can help point out holes in the specification/design."
> 
> 
> _______________________________________________
> AVR-GCC-list mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
> 

-- 
Highspeed-Freiheit. Bei GMX supergünstig, z.B. GMX DSL_Cityflat,
DSL-Flatrate für nur 4,99 Euro/Monat*  http://www.gmx.net/de/go/dsl




reply via email to

[Prev in Thread] Current Thread [Next in Thread]