From: Timo Tietavainen Date: Thu, 26 Nov 2020 12:44:56 +0000 (+0200) Subject: Update docker file to run UTs to produce cpputest logs X-Git-Tag: 0.5.0~2 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=312ad178639d82b7b50a0b880403cfbe45cffcbf;p=ric-plt%2Fdbaas.git Update docker file to run UTs to produce cpputest logs Add a new step to docker file run unit test to produce cpputest result xml files. Signed-off-by: Timo Tietavainen Change-Id: I7e0b985b4a381aaf93f03b20ce22aba31ca11642 --- diff --git a/docker/Dockerfile.redis b/docker/Dockerfile.redis index 092e219..e3969dd 100644 --- a/docker/Dockerfile.redis +++ b/docker/Dockerfile.redis @@ -56,6 +56,10 @@ RUN ./autogen.sh && \ ./configure && \ make test +RUN ./autogen.sh && \ + ./configure --disable-unit-test-memcheck && \ + make test && \ + make install FROM nexus3.o-ran-sc.org:10004/o-ran-sc/bldr-alpine3:12-a3.11 as build-env