Patrick Hunt reassigned ZOOKEEPER-60:

    Assignee:     (was: Patrick Hunt)

Giri said me may look into this.

There are a few pre-reqs to running the cppunit tests:

1) run "ant jar" from the trunk first
 a) generates c/java source for jute, necessary to build/run the c/tests
 b) run "autoconf -if" from the src/c dir
 c) run "./configure" from the src/c/dir

2) cppunit is required to run the tests

3) on redhat I had to install autoconf 2.59_2, automake 1.9.4, cppunit 1.12.0 
and used gcc 3 (3.4.2 to be exact) in order to run autoreconf/configure/make

4) from src/c run "make run-check" to run the tests
"make check" will just compile the tests

5) the tests assume that the jar file for the server has been built
  a) some mock based tests are run that don't use the server jar
  b) some server based tests are run that do require the jar - see zkServer.sh 
in the test directory, run by the unit harness

6) afaik the only output of the tests is to the console (success/failure) 
  there are two tests run by make, zktest_st and zktest_mt for the single and 
multi threaded tests respectively

> Get cppunit tests running as part of Hudson CI
> ----------------------------------------------
>                 Key: ZOOKEEPER-60
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-60
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: build
>            Reporter: Patrick Hunt
> Investigate if it is possible to run cppunit tests as part of Hudson.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to