From 9f8a096814fd4087fe613b61e61d3d4fcf64608b Mon Sep 17 00:00:00 2001
From: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
Date: Wed, 19 Jul 2017 11:59:24 -0400
Subject: [PATCH] docker: add tests framework into Ubuntu16.04

"make check" command use cppunit and "sipp" for our tests framework.
Add them to our current validation docker file.
Also fix Acquire::Retries option (typo).

Change-Id: I92a1ad0b5aa3a8066c48445261ff38e4e5a01061
Reviewed-by: Olivier Soldano <olivier.soldano@savoirfairelinux.com>
---
 docker/Dockerfile_ubuntu_16.04 | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/docker/Dockerfile_ubuntu_16.04 b/docker/Dockerfile_ubuntu_16.04
index 78b256a811..efd3e37a37 100644
--- a/docker/Dockerfile_ubuntu_16.04
+++ b/docker/Dockerfile_ubuntu_16.04
@@ -1,7 +1,7 @@
 FROM ubuntu:16.04
 
 RUN apt-get update && \
-    apt-get install -y -o Acquire::Retires=10 \
+    apt-get install -y -o Acquire::Retries=10 \
         git \
         autoconf \
         automake \
@@ -55,4 +55,9 @@ RUN apt-get update && \
         libva-dev \
         libvdpau-dev
 
+# Tests framework
+RUN apt-get install -y -o Acquire::Retries=10 \
+        libcppunit-dev \
+        sip-tester
+
 RUN apt-get clean
-- 
GitLab