X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=inline;f=redismodule%2FREADME.md;h=7bccee0c1c04ba99afe6ea12b20eda747ede1675;hb=c57ea609a5677c718ff3c2a493d3ac97af1f35ab;hp=7add0a66df0fe4b387425b4c087e85bd8124b4a7;hpb=a3454f896b5dc62ee0672febcb228a1b7c20e63e;p=ric-plt%2Fdbaas.git diff --git a/redismodule/README.md b/redismodule/README.md index 7add0a6..7bccee0 100755 --- a/redismodule/README.md +++ b/redismodule/README.md @@ -3,6 +3,31 @@ This subdirectory provides implementation for the commands which are implemented as a [Redis modules](https://redis.io/topics/modules-intro). +# Compiling and Unit Tests + +To compile, run unit tests and install use the commands: +``` +./autogen.sh +./configure +make +make test +make install +``` + +By default unit tests and valgrind memory checking are enabled. +This requires `cpputest` and `valgrind` as additional dependencies. +Unit test memory checking can be disabled with the `configure` option +`--disable-unit-test-memcheck` and the unit tests can be completely disabled +with the `configure` option `--disable-unit-test`. +For example to compile and install with unit tests completely disabled +one would run the commands: +``` +./autogen.sh +./configure --disable-unit-test +make +make install +``` + # Commands ## SETIE key value oldvalue [expiration EX seconds|PX milliseconds]