apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Bloom" <...@covalent.net>
Subject RE: New Test Suite
Date Mon, 08 Jul 2002 16:29:22 GMT
I take back what I said about Check being GPL, it is LGPL now.  That
means that our tests wouldn't be infected by the GPL license.

Are there any thoughts on either of these?  I have already submitted my
first set of patches to CuTest, so it will compile with gcc as soon as
they are accepted.  I'll have the test suite working soon.
Unfortunately, Windows seems to be absolutely borked with regard to
_vsnprintf, so supposedly portable C code, isn't.  Thanks go to JimJag
for helping track down the exact problem.


Ryan Bloom                  rbb@covalent.net
645 Howard St.              rbb@apache.org
San Francisco, CA 

> -----Original Message-----
> From: Ryan Bloom [mailto:rbb@covalent.net]
> Sent: Monday, July 08, 2002 7:06 AM
> To: dev@apr.apache.org
> Subject: New Test Suite
> Okay,  I have looked at two different test suite options.
> 1)  Check   --  GPL licensed.  Doesn't work on Windows.
> http://check.sourceforge.net/
> 2)  CuTest  --  Zlib license.  Doesn't currently work on Unix, but I
> have patches already.  I'll be submitting them later today.
> http://cutest.sourceforge.net/
> CuTest is two files, one .c and one .h, so it is very small and it
> should be able to do the job.  Plus, we can continue to improve it if
> have to.  The maintainer is currently using CuTest for his job, so it
> still under active maintenance.  (There is one bug that I have found,
> is a difference in the way that Windows and Unix treat vsnprintf and
> strlen.  I am looking into fixing it).
> Check is a lot more than two files, and the port to Windows could be
> kind of tough.  The problem is that it requires fork() for a lot of
> it does, and although I haven't looked at the code in great depth, the
> parts I have looked at just look very Unix based.  It is under active
> maintenance, but very slowly (According to the original author).
> My personal preference is to avoid the GPL all together and go with
> simple CuTest suite.  Any thoughts?
> Ryan
> ----------------------------------------------
> Ryan Bloom                  rbb@covalent.net
> 645 Howard St.              rbb@apache.org
> San Francisco, CA

View raw message