[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Building automated test cases
From: |
Erik Ekman |
Subject: |
Re: [lwip-users] Building automated test cases |
Date: |
Tue, 1 Apr 2008 13:25:59 +0200 |
On 4/1/08, Simon Goldschmidt <address@hidden> wrote:
> > The check framework supports forking every test case, which means that
> > while(1) loops and segfaults wont stop running all tests. Forking can
> > also be turned off for debugging. With forking turned off it may even
> > be possible to run tests on target for some OSes.
>
>
> Does it really work on cygwin if it uses fork? I'd be very happy to choose a
> framework that doesn't depend on unix specialities like fork. I just happen
> to know that two of the currently active developers are using windows most of
> the time (if only to use the best development environment I found so far).
>
> Don't get me wrong: I'm happy with cygwin, so if 'check' runs under cygwin
> (or the tests are designed to), I'm fine with it.
The check package is at least available in the cygwin installer under
the Development category.
>
> Oh, and maybe we should discuss this on lwip-devel instead of lwip-users?
>
Yes, good idea. I have started subscribing it as well.
I have implemented 5 tests for the IP layer, available at
http://kryo.se/test-1.3.0.tar.gz
Untar it inside a lwip-1.3.0 release and run make all/make run in the
test directory. Try it inside cygwin with the check package installed
and deliver any comments to lwip-devel, and we'll continue there.
/Erik