[Buildroot] [PATCH 1/3] support/testing: replace nose2 with pytest - Dockerfile
Oguz Ozhan
oguz.ozhan at mind.be
Wed Oct 19 21:57:39 UTC 2022
Signed-off-by: Oguz Ozhan <oguz.ozhan at mind.be>
---
support/docker/Dockerfile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/support/docker/Dockerfile b/support/docker/Dockerfile
index f54c31b54a..fd1527b1f9 100644
--- a/support/docker/Dockerfile
+++ b/support/docker/Dockerfile
@@ -38,8 +38,8 @@ RUN apt-get install -y --no-install-recommends \
mercurial \
openssh-server \
python3 \
+ python3-pip \
python3-flake8 \
- python3-nose2 \
python3-pexpect \
python3-pytest \
qemu-system-arm \
@@ -53,6 +53,9 @@ RUN apt-get install -y --no-install-recommends \
apt-get -y autoremove && \
apt-get -y clean
+# To be able to run tests in parallel
+RUN pip install pytest-parallel
+
# To be able to generate a toolchain with locales, enable one UTF-8 locale
RUN sed -i 's/# \(en_US.UTF-8\)/\1/' /etc/locale.gen && \
/usr/sbin/locale-gen
--
2.34.1
More information about the buildroot
mailing list