]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
coreutils: Add config.h to ptest package
authorKhem Raj <raj.khem@gmail.com>
Wed, 13 Sep 2023 06:24:55 +0000 (23:24 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 Sep 2023 08:19:34 +0000 (09:19 +0100)
This is needed by several tests during run on target

Fixes
grep: /usr/lib/coreutils/ptest/lib/config.h: No such file or directory
inotify-race.sh: skipped test: inotify is not supported

More tests are now passing

 ============================================================================
 Testsuite summary for GNU coreutils 9.4
 ============================================================================
 # TOTAL: 643
-# PASS:  509
-# SKIP:  131
+# PASS:  516
+# SKIP:  124

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/coreutils/coreutils_9.4.bb

index 25f6cb15db0fe990d856a4271b59f2e00be6cb00..f210df2e697a7d279263e4f4693fb3f644ebdb76 100644 (file)
@@ -181,6 +181,7 @@ do_install_ptest () {
     sed -i 's/ginstall/install/g'  `grep -R ginstall ${D}${PTEST_PATH}/tests | awk -F: '{print $1}' | uniq`
     install -d ${D}${PTEST_PATH}/build-aux
     install ${S}/build-aux/test-driver ${D}${PTEST_PATH}/build-aux/
+    install -Dm 0644 ${B}/lib/config.h ${D}${PTEST_PATH}/lib/config.h
     cp ${B}/Makefile ${D}${PTEST_PATH}/
     cp ${S}/init.cfg ${D}${PTEST_PATH}/
     cp -r ${B}/src ${D}${PTEST_PATH}/