new file mode 100644
@@ -0,0 +1,19 @@
+SUMMARY = "Linux kernel block layer testing framework"
+DESCRIPTION = "blktests is a test framework for the Linux kernel block layer and storage stack. It is inspired by the xfstests filesystem testing framework."
+DEPENDS = "gnutls keyutils glib-2.0 libnl"
+RDEPENDS:${PN} += " bash coreutils gawk util-linux fio"
+LICENSE = "GPL-3.0-or-later"
+LIC_FILES_CHKSUM = "file://LICENSES/GPL-3.0;md5=d32239bcb673463ab874e80d47fae504"
+
+SRCREV = "9aa2023312bfcdd6b31c24b6e4a4a5c2d4f870d2"
+SRC_URI = " \
+ git://github.com/osandov/blktests.git;nobranch=1;protocol=https \
+ "
+
+S = "${WORKDIR}/git"
+
+inherit autotools-brokensep
+
+do_configure[noexec] = "1"
+
+FILES:${PN} = "/usr/blktests/*"
Add support for building the Linux blktests [1] into a guest image. Once booted the tests can be run with commands like this: ```shell cd /usr/blktests/; NVMET_TRTYPES=tcp ./check nvme/062 ``` 1: https://github.com/osandov/blktests Signed-off-by: Alistair Francis <alistair.francis@wdc.com> --- meta-oe/recipes-kernel/blktests/blktests.bb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta-oe/recipes-kernel/blktests/blktests.bb