Add rt-tests and stress-tests

Related-to: TOR-1198
Signed-off-by: Ming Liu <ming.liu@toradex.com>
This commit is contained in:
Ming Liu
2020-12-06 19:26:05 +01:00
parent 15373623de
commit f42ce32faa
4 changed files with 71 additions and 1 deletions

10
rt-tests/Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
ARG IMAGE_ARCH=linux/arm
# For IMX8 use IMAGE_ARCH=linux/arm64
ARG IMAGE_TAG=1-buster
FROM --platform=$IMAGE_ARCH torizon/debian:$IMAGE_TAG
RUN apt-get update \
&& apt-get install -y --no-install-recommends rt-tests \
&& rm -rf /var/lib/apt/lists/*
CMD ["cyclictest","-S","-p99","-i1000","-m","-D20m", "-q", "|", "tee", "cyclictest.log"]