aboutsummaryrefslogtreecommitdiff
path: root/tests/docker
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2017-07-17 21:31:42 -0300
committerAlex Bennée <alex.bennee@linaro.org>2017-07-18 10:54:30 +0100
commit0cf01f5b4ab2991521b4b8b1044f573f1c6c6c4c (patch)
tree3e039d8047008959056dc1cf0eb5cd774f576b14 /tests/docker
parentb2e771742586b4f434608b901f1805573ab066bd (diff)
downloadqemu-0cf01f5b4ab2991521b4b8b1044f573f1c6c6c4c.zip
qemu-0cf01f5b4ab2991521b4b8b1044f573f1c6c6c4c.tar.gz
qemu-0cf01f5b4ab2991521b4b8b1044f573f1c6c6c4c.tar.bz2
docker: enable netmap to extend code coverage on amd64
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'tests/docker')
-rw-r--r--tests/docker/dockerfiles/debian-amd64.docker8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/docker/dockerfiles/debian-amd64.docker b/tests/docker/dockerfiles/debian-amd64.docker
index 360ecf0..71bcfc1 100644
--- a/tests/docker/dockerfiles/debian-amd64.docker
+++ b/tests/docker/dockerfiles/debian-amd64.docker
@@ -26,3 +26,11 @@ RUN DEBIAN_FRONTEND=noninteractive eatmydata \
libgbm-dev
RUN git clone git://anongit.freedesktop.org/virglrenderer /usr/src/virglrenderer
RUN cd /usr/src/virglrenderer && ./autogen.sh && ./configure --with-glx --disable-tests && make install
+
+# netmap
+RUN DEBIAN_FRONTEND=noninteractive eatmydata \
+ apt-get install -y --no-install-recommends \
+ linux-headers-amd64
+RUN git clone https://github.com/luigirizzo/netmap.git /usr/src/netmap
+RUN cd /usr/src/netmap/LINUX && ./configure --no-drivers --no-apps --kernel-dir=$(ls -d /usr/src/linux-headers-*-amd64) && make install
+ENV QEMU_CONFIGURE_OPTS --enable-netmap