From 4bf7d1abd0e8414a7f096864fa916e3cc705ac11 Mon Sep 17 00:00:00 2001 From: Adrian Dudau Date: Wed, 21 Jun 2017 14:51:17 +0200 Subject: elfutils,gdb: Drop bbappends We won't upstream this and we won't maintain it anymore, so drop it. Signed-off-by: Adrian Dudau Signed-off-by: Martin Borg --- recipes-devtools/elfutils/elfutils/add-ptest.patch | 23 ------------- .../elfutils/elfutils/avoid_parallel_tests.patch | 20 ----------- recipes-devtools/elfutils/elfutils/run-ptest | 3 -- recipes-devtools/elfutils/elfutils_0.164.bbappend | 19 ----------- .../gdb/0001-add-delay-before-run-exp-file.patch | 26 --------------- .../0002-function-name-is-used-by-mistake.patch | 30 ----------------- recipes-devtools/gdb/gdb/gdb-ptest-attach.patch | 30 ----------------- recipes-devtools/gdb/gdb/run-ptest | 2 -- recipes-devtools/gdb/gdb/runtest-flags.patch | 30 ----------------- recipes-devtools/gdb/gdb_7.10.1.bbappend | 39 ---------------------- 10 files changed, 222 deletions(-) delete mode 100644 recipes-devtools/elfutils/elfutils/add-ptest.patch delete mode 100644 recipes-devtools/elfutils/elfutils/avoid_parallel_tests.patch delete mode 100644 recipes-devtools/elfutils/elfutils/run-ptest delete mode 100644 recipes-devtools/elfutils/elfutils_0.164.bbappend delete mode 100644 recipes-devtools/gdb/gdb/0001-add-delay-before-run-exp-file.patch delete mode 100644 recipes-devtools/gdb/gdb/0002-function-name-is-used-by-mistake.patch delete mode 100644 recipes-devtools/gdb/gdb/gdb-ptest-attach.patch delete mode 100755 recipes-devtools/gdb/gdb/run-ptest delete mode 100644 recipes-devtools/gdb/gdb/runtest-flags.patch delete mode 100644 recipes-devtools/gdb/gdb_7.10.1.bbappend (limited to 'recipes-devtools') diff --git a/recipes-devtools/elfutils/elfutils/add-ptest.patch b/recipes-devtools/elfutils/elfutils/add-ptest.patch deleted file mode 100644 index 88f808d..0000000 --- a/recipes-devtools/elfutils/elfutils/add-ptest.patch +++ /dev/null @@ -1,23 +0,0 @@ -Add 'install-ptest' rule. - -Signed-off-by: Mihaela Sendrea -Upstream-status: Pending ---- -diff -uNr a/tests/Makefile.am b/tests/Makefile.am ---- a/tests/Makefile.am 2013-08-19 14:05:23.256292155 +0200 -+++ b/tests/Makefile.am 2013-08-19 15:49:16.084543591 +0200 -@@ -240,3 +240,14 @@ - coverage: - -$(srcdir)/coverage.sh - endif -+ -+install-ptest: -+ @$(MKDIR_P) $(DESTDIR)/tests -+ @$(MKDIR_P) $(DESTDIR)/src -+ @install $(builddir)/*$(EXEEXT) $(DESTDIR)/tests -+ @install $(srcdir)/*.sh $(DESTDIR)/tests -+ @install $(builddir)/../src/*$(EXEEXT) $(DESTDIR)/src -+ @cp $(builddir)/../Makefile $(DESTDIR) -+ @sed -i -e 's|^Makefile:|_Makefile:|' $(DESTDIR)/tests/Makefile -+ @sed -i -e 's|$(srcdir)|.|' $(DESTDIR)/tests/Makefile -+ diff --git a/recipes-devtools/elfutils/elfutils/avoid_parallel_tests.patch b/recipes-devtools/elfutils/elfutils/avoid_parallel_tests.patch deleted file mode 100644 index 95afc54..0000000 --- a/recipes-devtools/elfutils/elfutils/avoid_parallel_tests.patch +++ /dev/null @@ -1,20 +0,0 @@ -ptest needs buildtest-TESTS and runtest-TESTS targets. -serial-tests is required to generate those targets. - -Signed-off-by: Alexandra Safta -Signed-off-by: Tudor Florea -Signed-off-by: Martin Borg -Upstream-Status: Inappropriate - ---- a/configure.ac 2015-10-15 15:16:57.000000000 +0200 -+++ b/configure.ac 2016-02-02 12:03:17.432986965 +0100 - -@@ -26,7 +26,7 @@ - AC_PREREQ(2.63) dnl Minimum Autoconf version required. - - dnl We use GNU make extensions; automake 1.10 defaults to -Wportability. --AM_INIT_AUTOMAKE([gnits 1.11 -Wno-portability dist-bzip2 no-dist-gzip parallel-tests]) -+AM_INIT_AUTOMAKE([gnits 1.11 -Wno-portability dist-bzip2 no-dist-gzip serial-tests]) - AM_MAINTAINER_MODE - - AM_SILENT_RULES([yes]) diff --git a/recipes-devtools/elfutils/elfutils/run-ptest b/recipes-devtools/elfutils/elfutils/run-ptest deleted file mode 100644 index 51ea6df..0000000 --- a/recipes-devtools/elfutils/elfutils/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -make -C tests -k runtest-TESTS diff --git a/recipes-devtools/elfutils/elfutils_0.164.bbappend b/recipes-devtools/elfutils/elfutils_0.164.bbappend deleted file mode 100644 index 704829a..0000000 --- a/recipes-devtools/elfutils/elfutils_0.164.bbappend +++ /dev/null @@ -1,19 +0,0 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - -SRC_URI += "\ - file://add-ptest.patch \ - file://run-ptest \ - file://avoid_parallel_tests.patch \ -" - -inherit ptest - -do_compile_ptest() { - oe_runmake -C tests buildtest-TESTS -} - -do_install_ptest() { - oe_runmake -C tests install-ptest DESTDIR=${D}${PTEST_PATH} -} - -RDEPENDS_${PN}-ptest += " bash" diff --git a/recipes-devtools/gdb/gdb/0001-add-delay-before-run-exp-file.patch b/recipes-devtools/gdb/gdb/0001-add-delay-before-run-exp-file.patch deleted file mode 100644 index 1c41562..0000000 --- a/recipes-devtools/gdb/gdb/0001-add-delay-before-run-exp-file.patch +++ /dev/null @@ -1,26 +0,0 @@ -Description: Add delay for stable running - -Author: jack zhang -Date: Mon, 12 Nov 2012 04:10:20 +0100 - -Upstream-Status: Pending - -Signed-off-by: jack zhang -Signed-off-by: Ciprian Barbu ---- - gdb/testsuite/dg-extract-results.sh | 1 + - 1 files changed, 1 insertions(+), 0 deletions(-) - -diff --git a/gdb/testsuite/dg-extract-results.sh b/gdb/testsuite/dg-extract-results.sh ---- a/gdb/testsuite/dg-extract-results.sh -+++ b/gdb/testsuite/dg-extract-results.sh -@@ -322,6 +322,7 @@ END { - n=1 - while (n < expfileno) { - if (expfileseen[expfiles[n]]) { -+ sleep 1 - print "Running "expfiles[n]" ..." - if (filewritten["${TMP}/list"n]) { - if (expfileseen[expfiles[n]] == 1) --- -1.7.5.4 diff --git a/recipes-devtools/gdb/gdb/0002-function-name-is-used-by-mistake.patch b/recipes-devtools/gdb/gdb/0002-function-name-is-used-by-mistake.patch deleted file mode 100644 index 7f25a35..0000000 --- a/recipes-devtools/gdb/gdb/0002-function-name-is-used-by-mistake.patch +++ /dev/null @@ -1,30 +0,0 @@ -Description: function name is used by mistake - -Author: jack zhang -Date: Tue, 13 Nov 2012 09:56:54 +0100 - -Upstream-Status: Pending - -Signed-off-by: jack zhang -Signed-off-by: Ciprian Barbu ---- - gdb/testsuite/gdb.base/skip.exp | 4 ++-- - 1 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/gdb/testsuite/gdb.base/skip.exp b/gdb/testsuite/gdb.base/skip.exp ---- a/gdb/testsuite/gdb.base/skip.exp -+++ b/gdb/testsuite/gdb.base/skip.exp -@@ -113,9 +113,9 @@ gdb_test "info skip 3" ".*\\n3\\s+file\\s+n.*" \ - "info skip shows entry as disabled" - - if ![runto_main] { fail "skip tests suppressed" } --gdb_test "step" "bar \\(\\) at.*" "step after disabling 3 (1)" -+gdb_test "step" "foo \\(\\) at.*" "step after disabling 3 (1)" - gdb_test "step" ".*" "step after disabling 3 (2)"; # Return from foo() --gdb_test "step" "foo \\(\\) at.*" "step after disabling 3 (3)" -+gdb_test "step" "bar \\(\\) at.*" "step after disabling 3 (3)" - gdb_test "step" ".*" "step after disabling 3 (4)"; # Return from bar() - gdb_test "step" "main \\(\\) at.*" "step after disabling 3 (5)" - --- -1.7.5.4 diff --git a/recipes-devtools/gdb/gdb/gdb-ptest-attach.patch b/recipes-devtools/gdb/gdb/gdb-ptest-attach.patch deleted file mode 100644 index b95ac2c..0000000 --- a/recipes-devtools/gdb/gdb/gdb-ptest-attach.patch +++ /dev/null @@ -1,30 +0,0 @@ -From f442dc426b0346e1e413a7c3ae5b07725837135c Mon Sep 17 00:00:00 2001 -From: "Rick.Yang" -Date: Sun, 11 Nov 2012 10:05:50 +0100 -Subject: [PATCH] Fix the failed test case. - -Description: Fixed failing test case - In fact, the test case is passing, but the output does not completely - match the expected pattern in some special case. Modified the pattern - to resolve it. - -Signed-off-by: Rick.Yang -Signed-off-by: Ciprian Barbu ---- - gdb/testsuite/gdb.base/attach.exp | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/gdb/testsuite/gdb.base/attach.exp b/gdb/testsuite/gdb.base/attach.exp ---- a/gdb/testsuite/gdb.base/attach.exp -+++ b/gdb/testsuite/gdb.base/attach.exp -@@ -285,7 +285,7 @@ proc do_attach_tests {} { - gdb_test "dir ${objdir}/${subdir}" "Source directories searched: .*" \ - "set source path" - -- gdb_test "cd /tmp" "Working directory /tmp." \ -+ gdb_test "cd /tmp" "Working directory /tmp.*" \ - "cd away from process working directory" - - # Explicitly flush out any knowledge of the previous attachment. --- -1.7.5.4 diff --git a/recipes-devtools/gdb/gdb/run-ptest b/recipes-devtools/gdb/gdb/run-ptest deleted file mode 100755 index e8587e8..0000000 --- a/recipes-devtools/gdb/gdb/run-ptest +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -make -C testsuite check-single | sed -e 's/XFAIL/PASS/' -e 's/UNRESOLVED/SKIP/' -e 's/UNTESTED/SKIP/' -e 's/UNSUPPORTED/SKIP/' diff --git a/recipes-devtools/gdb/gdb/runtest-flags.patch b/recipes-devtools/gdb/gdb/runtest-flags.patch deleted file mode 100644 index 054abc3..0000000 --- a/recipes-devtools/gdb/gdb/runtest-flags.patch +++ /dev/null @@ -1,30 +0,0 @@ -Description: add -a to runtest - Pass "-a" to runtest so that everything is printed to output - (e.g. unsupported test cases) - -Author: "Gordon.Sun" -Date: Wed, 28 Nov 2012 03:39:58 +0100 - -Upstream-Status: Inappropriate (other) - -Signed-off-by: Gordon.Sun -Signed-off-by: Ciprian Barbu ---- - gdb/testsuite/Makefile.in | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/gdb/testsuite/Makefile.in b/gdb/testsuite/Makefile.in -index fab124e..f5cddb2 100644 ---- a/gdb/testsuite/Makefile.in -+++ b/gdb/testsuite/Makefile.in -@@ -46,7 +46,7 @@ EXPECT = `if [ -f $${rootme}/../../expect/expect ] ; then \ - - RUNTEST = $(RUNTEST_FOR_TARGET) - --RUNTESTFLAGS = -+RUNTESTFLAGS = -a - - FORCE_PARALLEL = - --- -1.7.5.4 diff --git a/recipes-devtools/gdb/gdb_7.10.1.bbappend b/recipes-devtools/gdb/gdb_7.10.1.bbappend deleted file mode 100644 index 89404b1..0000000 --- a/recipes-devtools/gdb/gdb_7.10.1.bbappend +++ /dev/null @@ -1,39 +0,0 @@ -inherit ptest - -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - -SRC_URI += "file://run-ptest \ - file://runtest-flags.patch \ - file://0001-add-delay-before-run-exp-file.patch \ - file://0002-function-name-is-used-by-mistake.patch \ - file://gdb-ptest-attach.patch \ - " - - - -DEPENDS_${PN}-ptest += "expect dejagnu tcl" -RDEPENDS_${PN}-ptest += "glibc-charmap-ibm1047 \ - glibc-gconv-ibm1047 \ - glibc-charmap-ebcdic-us \ - glibc-gconv-ebcdic-us \ - glibc-gconv-utf-32 \ - glibc-gconv-utf-16 \ - prelink \ - expect \ - dejagnu \ - make \ - bash \ - " -do_configure_ptest () { - cd ${S}/gdb/testsuite/ - ./configure --host=${HOST_SYS} --build=${BUILD_SYS} - make site.exp -} - -do_install_ptest () { - cp -pr ${S}/gdb/testsuite/ ${D}${PTEST_PATH} - cp -pr ${S}/gdb/features/ ${D}${PTEST_PATH} - install -p ${S}/config.sub ${D}${PTEST_PATH}/testsuite/ - install -p ${S}/config.guess ${D}${PTEST_PATH}/testsuite/ - install -p ${S}/install-sh ${D}${PTEST_PATH}/testsuite/ -} -- cgit v1.2.3-54-g00ecf