[oe-commits] [openembedded-core] 04/04: Revert "coreutils: add ptest"

git at git.openembedded.org git at git.openembedded.org
Thu Nov 28 14:39:34 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit f2520b974e1739984c6aa579a12ca142f017dd57
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Thu Nov 28 14:36:41 2019 +0000

    Revert "coreutils: add ptest"
    
    This reverts commit 87fc4dfd638d68dedf3b973a17ca9279fa132a8a.
---
 meta/recipes-core/coreutils/coreutils/run-ptest | 11 -------
 meta/recipes-core/coreutils/coreutils_8.31.bb   | 40 -------------------------
 2 files changed, 51 deletions(-)

diff --git a/meta/recipes-core/coreutils/coreutils/run-ptest b/meta/recipes-core/coreutils/coreutils/run-ptest
deleted file mode 100755
index 6c53329..0000000
--- a/meta/recipes-core/coreutils/coreutils/run-ptest
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-
-COREUTILSLIB=@libdir@/coreutils
-LOG="${COREUTILSLIB}/ptest/coreutils_ptest_$(date +%Y%m%d-%H%M%S).log"
-
-addgroup usergroup1
-adduser --ingroup usergroup1 tester
-
-su tester -c "cd ${COREUTILSLIB}/ptest && make check-TESTS RUN_EXPENSIVE_TESTS=yes top_srcdir=. srcdir=." 2>&1 | tee -a ${LOG}
-deluser tester 
-delgroup usergroup1
diff --git a/meta/recipes-core/coreutils/coreutils_8.31.bb b/meta/recipes-core/coreutils/coreutils_8.31.bb
index ce94dd0..57b2c1b 100644
--- a/meta/recipes-core/coreutils/coreutils_8.31.bb
+++ b/meta/recipes-core/coreutils/coreutils_8.31.bb
@@ -18,7 +18,6 @@ SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \
            file://0001-uname-report-processor-and-hardware-correctly.patch \
            file://disable-ls-output-quoting.patch \
            file://0001-local.mk-fix-cross-compiling-problem.patch \
-           file://run-ptest \
           "
 
 SRC_URI_append_libc-musl = "file://strtod_fix_clash_with_strtold.patch"
@@ -144,42 +143,3 @@ python __anonymous() {
 }
 
 BBCLASSEXTEND = "native nativesdk"
-
-inherit ptest
-
-FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
- 
-RDEPENDS_${PN}-ptest += "bash findutils gawk gdb libconvert-asn1-perl liberror-perl libmodule-build-perl libtimedate-perl liburi-perl make perl perl-module-file-stat python sed shadow strace"
-
-do_install_ptest () {
-	install -d ${D}${PTEST_PATH}/tests
-	cp -r ${S}/tests/* ${D}${PTEST_PATH}/tests
-	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/
-	cp ${B}/Makefile ${D}${PTEST_PATH}/
-	cp ${S}/init.cfg ${D}${PTEST_PATH}/
-	cp -r ${B}/src ${D}${PTEST_PATH}/
-	cp -r ${S}/src/*.c ${D}${PTEST_PATH}/src
-	cd ${D}${PTEST_PATH}
-	tar -czvf ${D}${PTEST_PATH}/src.tar.gz ./src
-	cd -
-	sed -i '/^VPATH/s/= .*$/= ./g' ${D}${PTEST_PATH}/Makefile
-	sed -i '/^PROGRAMS/s/^/#/g' ${D}${PTEST_PATH}/Makefile
-	sed -i '/^Makefile: /s/^.*$/Makefile:/g' ${D}${PTEST_PATH}/Makefile
-	sed -i '/^abs_srcdir/s/= .*$/= \$\{PWD\}/g' ${D}${PTEST_PATH}/Makefile
-	sed -i '/^abs_top_builddir/s/= .*$/= \$\{PWD\}/g' ${D}${PTEST_PATH}/Makefile
-	sed -i '/^abs_top_srcdir/s/= .*$/= \$\{PWD\}/g' ${D}${PTEST_PATH}/Makefile
-	sed -i '/^built_programs/s/ginstall/install/g' ${D}${PTEST_PATH}/Makefile
-    chmod -R 777 ${D}${PTEST_PATH}
-	# Disable subcase stty-pairs.sh, it will cause test framework hang
-	sed -i '/stty-pairs.sh/d' ${D}${PTEST_PATH}/Makefile
-	install ${B}/src/getlimits ${D}/${bindir}
-    # handle multilib
-    sed -i s:@libdir@:${libdir}:g ${D}${PTEST_PATH}/run-ptest
-}
-
-FILES_${PN}-ptest += "${bindir}/getlimits"
-
-INSANE_SKIP_${PN}-ptest += "ldflags"
-INSANE_SKIP_${PN}-ptest += "rpaths"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list