use ctest to run unit tests in parallel (requires newer catch2)

This commit is contained in:
Jeff Wang
2020-10-12 16:15:39 -04:00
parent 08f1d199c1
commit 46851eab9f
8 changed files with 60 additions and 26 deletions

View File

@ -2,7 +2,6 @@ FROM ubuntu:18.04
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
build-essential \
catch \
clang \
cmake \
git \
@ -13,4 +12,10 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
ninja-build \
qtdeclarative5-dev \
sdcc=3.5.0+dfsg-2build1 \
vim-tiny
vim-tiny \
wget
# install more up-to-date catch2
RUN wget http://mirrors.kernel.org/ubuntu/pool/universe/c/catch2/catch2_2.13.0-1_all.deb
RUN echo "1d501c7f817cfcd46dd1b79edc10896d catch2_2.13.0-1_all.deb" | md5sum --check --
RUN dpkg -i catch2_2.13.0-1_all.deb