diff options
-rw-r--r-- | meta-oe/recipes-support/libgpiod/libgpiod.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod.inc b/meta-oe/recipes-support/libgpiod/libgpiod.inc index abb6544ec2..cf6c0ae0f6 100644 --- a/meta-oe/recipes-support/libgpiod/libgpiod.inc +++ b/meta-oe/recipes-support/libgpiod/libgpiod.inc | |||
@@ -38,7 +38,7 @@ FILES:${PN}-ptest += " \ | |||
38 | FILES:libgpiodcxx = "${libdir}/libgpiodcxx.so.*" | 38 | FILES:libgpiodcxx = "${libdir}/libgpiodcxx.so.*" |
39 | 39 | ||
40 | RRECOMMENDS:${PN}-ptest += "coreutils" | 40 | RRECOMMENDS:${PN}-ptest += "coreutils" |
41 | RDEPENDS:${PN}-ptest += "bats" | 41 | RDEPENDS:${PN}-ptest += "${@bb.utils.contains('PTEST_ENABLED', '1', 'bats', '', d)}" |
42 | 42 | ||
43 | do_install_ptest() { | 43 | do_install_ptest() { |
44 | install -d ${D}${PTEST_PATH}/tests/ | 44 | install -d ${D}${PTEST_PATH}/tests/ |