Revert "libconfig: add ptest support"
PATCH 1/1 Revert "libconfig: add ptest support"
From: Alexander Kanavin <[email protected]>
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 <[email protected]>
--- .../distro/include/ptest-packagelists.inc | 1 - .../libconfig/libconfig/run-ptest | 16 ---------------- .../libconfig/libconfig_1.8.2.bb | 19 +------------------ 3 files changed, 1 insertion(+), 35 deletions(-) delete mode 100755 meta/recipes-extended/libconfig/libconfig/run-ptest
meta/conf/distro/include/ptest-packagelists.inc +0 -1
@@ -29,7 +29,6 @@ PTESTS_FAST = "\ json-c \ json-glib \ libcheck \ - libconfig \ libconvert-asn1-perl \ libexif \ libgpg-error\
meta/recipes-extended/libconfig/libconfig/run-ptest deleted +0 -16
@@ -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
meta/recipes-extended/libconfig/libconfig_1.8.2.bb +1 -18
@@ -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 -}
Signature · 1 line
2.47.3