CUnit test cases for connection pooling
I have added preliminary support for unit tests to mapserver. Since this is a
major change (new directories, files and a new dependency towards the CUnit
libraries) I am attaching a patch to this bug so that the developers can try it
out and it can go through the usual approval process.
The unit tests for now only test the connection pooling code, as that's what I
am looking at to solve bug#1662, but adding new tests will be easier from now on
as the the general infrastrusture is now in place.
Usage :
------
download and apply the patch to a fresh cvs checkout:
patch -p0 < path/to/patch
You have regenerate the configure script as configure.in was changed.
Configure with --with-threads and compile in the usual way.
Then cd into cunit and compile the tests:
make
If it fails then you are probably missing the cunit library from
http://cunit.sf.net.
Run the tests by typing:
./cunit
That's it!
Change History
(3)
Priority: |
high → normal
|
Resolution: |
→ wontfix
|
Status: |
new → closed
|
Type: |
defect → enhancement
|
(C)unit tests