Skip to contentSkip to conversation

pv: fix ptests

PATCH New Gyorgy Sarvari 1 participant 1 message Oct 18, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pv: fix ptests

Setting the RDEPENDS with "=" erased the base dependencies (notably ${PN} itself) from the list, making the tests fail, unless the dependencies were installed explicitly.

---
 meta-oe/recipes-support/pv/pv_1.6.20.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/pv/pv_1.6.20.bb +1 -1
index 867a621d1a..2ecf62e3d0 100644
@@ -17,7 +17,7 @@ inherit autotools ptest
 LDEMULATION:mipsarchn32 = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', 'elf32btsmipn32', 'elf32ltsmipn32', d)}"
 export LDEMULATION
 
-RDEPENDS:${PN}-ptest = "coreutils"
+RDEPENDS:${PN}-ptest += "coreutils"
 
 do_install_ptest() {
     install -d ${D}${PTEST_PATH}/tests