Update docker file to run UTs to produce cpputest logs 72/5172/1
authorTimo Tietavainen <timo.tietavainen@nokia.com>
Thu, 26 Nov 2020 12:44:56 +0000 (14:44 +0200)
committerTimo Tietavainen <timo.tietavainen@nokia.com>
Thu, 26 Nov 2020 12:44:56 +0000 (14:44 +0200)
Add a new step to docker file run unit test to produce cpputest result
xml files.

Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I7e0b985b4a381aaf93f03b20ce22aba31ca11642

docker/Dockerfile.redis

index 092e219..e3969dd 100644 (file)
@@ -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