[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] Re: [PATCH] zlib bindings
From: |
Paolo Bonzini |
Subject: |
[Help-smalltalk] Re: [PATCH] zlib bindings |
Date: |
Sun, 20 May 2007 15:57:33 +0200 |
User-agent: |
Thunderbird 2.0.0.0 (Macintosh/20070326) |
Stephen Compall wrote:
Paolo Bonzini wrote:
In addition, I wrote some unit tests but didn't have the patience to
put them in SUnit format.
smalltalk--backstage--2.2
patch-21
split zlib tests into new file
patch-22
convert zlib tests to SUnit
Attached is zlibtests.st.
I committed a similar patch. What I do is putting zlibtests.st in
packages.xml.in like this:
<package>
<name>ZLib</name>
<sunit>ZlibStreamTest.*</sunit>
<filein>PipeStream.st</filein>
<filein>zlib.st</filein>
<filein>zlibtests.st</filein>
<module>zlib</module>
<directory>examples</directory>
<file>PipeStream.st</file>
<file>zlib.st</file>
<file>zlibtests.st</file>
</package>
which also takes care of distributing the file in the .tar.gz. (It is
suboptimal to load the tests in the image, but I cannot do this until I
get round to using Mike's XML parser in the PackageLoader).
Then, thanks to the new testing infrastructure I can simply add
AT_OPTIONAL_PACKAGE_TEST([ZLib])
to testsuite.at.
Paolo