diff options
| author | Alistair Francis <alistair23@gmail.com> | 2025-05-01 08:54:49 +1000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-04-30 22:42:38 -0700 |
| commit | 4f7e8bd6e19fa9b94975dac482cdd22d7d45d865 (patch) | |
| tree | bbff83a4f5f3243d171330690cbe3c350cbb093e /meta-oe/recipes-kernel | |
| parent | 2bfceb99a4feb535d4183b0aa6c53523040bcadd (diff) | |
| download | meta-openembedded-4f7e8bd6e19fa9b94975dac482cdd22d7d45d865.tar.gz | |
blktests: Initial commit
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>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-kernel')
| -rw-r--r-- | meta-oe/recipes-kernel/blktests/blktests.bb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-oe/recipes-kernel/blktests/blktests.bb b/meta-oe/recipes-kernel/blktests/blktests.bb new file mode 100644 index 0000000000..2fb6db9184 --- /dev/null +++ b/meta-oe/recipes-kernel/blktests/blktests.bb | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | SUMMARY = "Linux kernel block layer testing framework" | ||
| 2 | DESCRIPTION = "blktests is a test framework for the Linux kernel block layer and storage stack. It is inspired by the xfstests filesystem testing framework." | ||
| 3 | DEPENDS = "gnutls keyutils glib-2.0 libnl" | ||
| 4 | RDEPENDS:${PN} += " bash coreutils gawk util-linux fio" | ||
| 5 | LICENSE = "GPL-3.0-or-later" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSES/GPL-3.0;md5=d32239bcb673463ab874e80d47fae504" | ||
| 7 | |||
| 8 | SRCREV = "9aa2023312bfcdd6b31c24b6e4a4a5c2d4f870d2" | ||
| 9 | SRC_URI = " \ | ||
| 10 | git://github.com/osandov/blktests.git;nobranch=1;protocol=https \ | ||
| 11 | " | ||
| 12 | |||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | |||
| 15 | inherit autotools-brokensep | ||
| 16 | |||
| 17 | do_configure[noexec] = "1" | ||
| 18 | |||
| 19 | FILES:${PN} = "/usr/blktests/*" | ||
