Install the test suite and run it in core-image-ptest-fast.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-pyyaml \
python3-rpds-py \
python3-trove-classifiers \
+ python3-uritools \
python3-wcwidth \
python3-webcolors \
qemu \
--- /dev/null
+#!/bin/sh
+
+pytest --automake
SRC_URI[sha256sum] = "04df2b787d0eb76200e8319382a03562fbfe4741fd66c15506b08d3b8211d573"
-inherit pypi python_setuptools_build_meta
+SRC_URI += "file://run-ptest"
+
+inherit pypi python_setuptools_build_meta ptest
+
+do_install_ptest() {
+ cp -rf ${S}/tests/* ${D}${PTEST_PATH}/
+}
+
+RDEPENDS:${PN}-ptest += " \
+ python3-pytest \
+ python3-unittest-automake-output \
+"
BBCLASSEXTEND = "native nativesdk"