lwip-devel
[Top][All Lists]
Advanced

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

RE: [lwip-devel] [task #7930] Create automatic test cases


From: Grubb, Jared
Subject: RE: [lwip-devel] [task #7930] Create automatic test cases
Date: Wed, 9 Apr 2008 16:41:09 -0700

Some generic "OS layer" tests would be useful for those who have to
write their own abstraction layer. Those tests could make sure that the
abstraction layer at least does the things that it's supposed to do.
(For example, does the queue overflow or crash if you post too many
things to it)

Jared

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
address@hidden
Sent: Wednesday, April 09, 2008 09:32
To: lwip-devel
Subject: Re: [lwip-devel] [task #7930] Create automatic test cases

Piero 74 wrote:
> Hi. Just as a contribution to this discussion:
>
> lwip needs a customization of layer for rtos (sys_arch.c) and for emac

> driver (ethernetif.c) and the emac driver too.
I don't think that testing your ethernet driver is really possible. 
After all, it should send and receive data through the wire, you won't 
be able to test that using one machine only.

Testing your OS abstraction layer (sys_arch.c) is kind of hard since it 
would require the tests to be run on your target, while the tests we 
were talking about should mainly run under linux and windows, I guess.
> It could be possible to use automatic test cases to test the whole 
> chain (emac driver - rtos - lwip layers - lwip)??
>
> i spent a lot of time finding problems in my driver and in lwip 
> integration of it.... i think it could be very usefull!
We were mainly talking about unit tests in this thread until now, while 
what you propose seems like a system test to me...
But feel free to post any tests that you think makes porting lwIP
easier!

Simon


_______________________________________________
lwip-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-devel




reply via email to

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