Enable redismodule UT in CI pipeline 57/2357/3
authorHeinonen Arvo <arvo.heinonen@nokia.com>
Thu, 23 Jan 2020 15:35:45 +0000 (17:35 +0200)
committerHeinonen Arvo <arvo.heinonen@nokia.com>
Thu, 30 Jan 2020 08:22:52 +0000 (10:22 +0200)
commit23808aa82b74e248e265e70db4a831124ae88460
tree70df56e6ed29be830e6a2da03d1ca26076848c29
parent4ee7adebe245a8b294c771b20d5fb494707312a5
Enable redismodule UT in CI pipeline

Add new build stage to 'Dockerfile.redis'
that runs unit tests with valgrind in ubuntu-based
container.

Also run unit tests without valgrind in the actual
build stage. Valgrind is not run at this stage
because alpine-linux uses musl implementation
of libc which causes valgrind to emit false
positives.

Unit tests and valgrind memory checks are now enabled
by default. They can be disabled with the configure options:
'--disable-unit-test' and '--disable-unit-test-memcheck'
respectively.

Disabled cpputest's builtin memory checks in UT even if
they are available.

Updated redismodule/README.md on compiling redismodule.

Removed some Nokia-specific scripts.

Signed-off-by: Arvo Heinonen <arvo.heinonen@nokia.com>
Change-Id: Id7c37f6a99888d1a9229ca41dd7cbc325b6d495f
docker/Dockerfile.redis
redismodule/Makefile.am
redismodule/README.md
redismodule/configure.ac
redismodule/run-tests.sh.in [deleted file]
redismodule/tst/src/main.cpp