]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
Revert "libconfig: add ptest support"
authorAlexander Kanavin <alex@linutronix.de>
Wed, 4 Feb 2026 11:04:39 +0000 (12:04 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 4 Feb 2026 13:58:17 +0000 (13:58 +0000)
This reverts commit 4c31a7b410fc9c14815c6853431c7bd56c0e173c.

It is cauding package_qa and reproducibility issues:

ERROR: lib32-libconfig-1.8.2-r0 do_package_qa: QA Issue: File /usr/lib/libconfig/ptest/tests/libconfig_tests in package lib32-libconfig-ptest contains reference to TMPDIR [buildpaths]
ERROR: lib32-libconfig-1.8.2-r0 do_package_qa: QA Issue: /usr/lib/libconfig/ptest/tests/libconfig_tests contained in package lib32-libconfig-ptest requires /bin/bash, but no providers found in RDEPENDS:lib32-libconfig-ptest? [file-rdeps]

https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/3165

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/ptest-packagelists.inc
meta/recipes-extended/libconfig/libconfig/run-ptest [deleted file]
meta/recipes-extended/libconfig/libconfig_1.8.2.bb

index df8b0eae8d00468b96d76b4b9ab55d4f58d4491a..b9616e9bf4745f7ad7bf75f8df7ed91f3ba2e0f7 100644 (file)
@@ -29,7 +29,6 @@ PTESTS_FAST = "\
     json-c \
     json-glib \
     libcheck \
-    libconfig \
     libconvert-asn1-perl \
     libexif \
     libgpg-error\
diff --git a/meta/recipes-extended/libconfig/libconfig/run-ptest b/meta/recipes-extended/libconfig/libconfig/run-ptest
deleted file mode 100755 (executable)
index d81fcf4..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-
-cd tests
-
-for t in libconfig_tests; do
-    if [ -x ./$t ]; then
-        ./$t
-        if [ $? -eq 0 ]; then
-            echo "PASS: $t"
-        else
-            echo "FAIL: $t"
-        fi
-    else
-        echo "SKIP: $t"
-    fi
-done
index f4319545f3d006e8cba228a4168054ada071a222..6e08a7b04b891457c7e3c1d281bfa8cf290f016d 100644 (file)
@@ -9,7 +9,6 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=17c8e32f0f72580cc2906b409d46b5ac"
 
 SRC_URI = " \
     git://github.com/hyperrealm/libconfig.git;protocol=https;branch=master;tag=v${PV} \
-    file://run-ptest \
 "
 SRCREV = "a42cb47c1526a4f2ed025fcbb2289863375bc898"
 
@@ -18,7 +17,7 @@ DEPENDS += "bison-native flex-native"
 
 UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
 
-inherit autotools pkgconfig ptest
+inherit autotools pkgconfig
 
 PACKAGE_BEFORE_PN = "${PN}++"
 FILES:${PN}++ = "${libdir}/${BPN}++*${SOLIBS}"
@@ -28,19 +27,3 @@ do_compile:prepend() {
     rm -f ${S}/lib/grammar.[ch]
     rm -f ${S}/lib/scanner.[ch]
 }
-
-do_compile_ptest() {
-    oe_runmake -C tests check TESTS=
-}
-
-do_install_ptest() {
-    install -d ${D}${PTEST_PATH}/tests
-
-    if [ -f ${B}/tests/libconfig_tests ]; then
-        libtool --mode=install install -m 0755 ${B}/tests/libconfig_tests ${D}${PTEST_PATH}/tests/libconfig_tests
-    fi
-
-    if [ -d ${S}/tests/testdata ]; then
-        cp -r ${S}/tests/testdata ${D}${PTEST_PATH}/tests/
-    fi
-}