mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
parted: improve ptest
Add a RRECOMMENDS on kernel-module-scsi-debug as this module is needed for many of the tests. Create the udev mount blacklist directory before writing into it, as it doesn't always exist. Delete any existing log files before calling make, as otherwise the tests cannot be repeated. (From OE-Core rev: 9d3cc0fb89cc4bd8a4f4fe168eff08a3c8bc8d2f) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b37ebab71b
commit
cddb58b0c6
@@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
mkdir -p /etc/udev/mount.blacklist.d
|
||||
echo /dev/sda1 >> /etc/udev/mount.blacklist.d/parted-tmp
|
||||
rm -f *.log
|
||||
make -C tests test-suite.log
|
||||
rm /etc/udev/mount.blacklist.d/parted-tmp
|
||||
|
||||
@@ -46,7 +46,7 @@ do_install_ptest() {
|
||||
}
|
||||
|
||||
RDEPENDS_${PN}-ptest = "bash coreutils perl util-linux-losetup python3 make gawk e2fsprogs-mke2fs"
|
||||
|
||||
RRECOMMENDS_${PN}-ptest = "kernel-module-scsi-debug"
|
||||
RDEPENDS_${PN}-ptest_append_libc-glibc = "\
|
||||
glibc-utils \
|
||||
locale-base-en-us \
|
||||
|
||||
Reference in New Issue
Block a user