The Config Keeper
- clang (llvm) or gcc (gnu)
- cmake
- sqlite3-dev
Edit the CMakeLists.txt
file and change the clang
to gcc
# clone the repo
> cd ~/code; git clone https://github.com/gramanas/ck
# make a build directory and enter it
> mkdir ~/ck_build; cd ~/ck_build;
# run cmake
> cmake ~/code/ck
# run make
> make
# run ck
> ./ck
Just build with address sanitizer enabled like so: llvm has better asan than gcc, so I use that.
# clone the repo
> cd ~/code; git clone https://github.com/gramanas/ck
# make a build directory and enter it
> mkdir ~/ck_build; cd ~/ck_build;
# run cmake
> cmake ~/code/ck -DCK_ASAN=ON
# run make
> make
# run ck
> ./ck
The testing “suite” is just a bash script
that executs all the bash scripts under
tests/
Simply go to the build dir and type.
./check_ck