-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathREADME
More file actions
42 lines (24 loc) · 730 Bytes
/
README
File metadata and controls
42 lines (24 loc) · 730 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# zkcpp: A Zookeeper C++ client library
## API Documentation
http://m1ch1.github.com/zkcpp/3.5.0/
## Requirements
- cmake
- boost
- log4cxx
- googletest
# How to Build
1. Create a build directory and run cmake followed by make.
mkdir build
cmake ..
make
2. To run all the unit tests, do:
make check
To run Valgrind on the unit tests: do:
make valcheck
To run cpplint on the source code files, do:
make lint
You can run an individual test. For example, to run all the test cases in
CppClient, do:
./zktest --gtest_filter=CppClient.*
You can also specify an individual test case like this:
./zktest --gtest_filter=CppClient.testCreate