From 14bdae4345deb94d3842b3b43cc1cf3185464776 Mon Sep 17 00:00:00 2001 From: Alexandre Bard Date: Fri, 18 Aug 2023 14:29:47 +0200 Subject: [PATCH] nwl-tests: Use bats to run the tests id:418214 --- .../recipes-testing/nwl-tests/nwl-tests_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layers/meta-nwl-distro/recipes-testing/nwl-tests/nwl-tests_git.bb b/layers/meta-nwl-distro/recipes-testing/nwl-tests/nwl-tests_git.bb index 066ee8f..33c15a3 100644 --- a/layers/meta-nwl-distro/recipes-testing/nwl-tests/nwl-tests_git.bb +++ b/layers/meta-nwl-distro/recipes-testing/nwl-tests/nwl-tests_git.bb @@ -12,14 +12,14 @@ SRCREV = "7d0d962b7ed7bf5cde845d5c81d5eade5f01444d" S = "${WORKDIR}/git" PACKAGES += "${PN}-kernel" -RDEPENDS:${PN}-kernel = "${PN} bash usbutils" +RDEPENDS:${PN}-kernel = "${PN} bats ethtool usbutils" FILES:${PN} = "${datadir}/*" FILES:${PN}-kernel = "${bindir}/nwl-tests-kernel" do_install () { install -d ${D}${bindir} - install -m 0755 ${S}/kernel-tests/kernel-tests.sh ${D}${bindir}/nwl-tests-kernel + install -m 0755 ${S}/kernel-tests/kernel-tests.bats ${D}${bindir}/nwl-tests-kernel install -d ${D}${datadir}/nwl-tests install -m 0644 ${S}/hardware-specifications/* ${D}${datadir}/nwl-tests/ }