mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 02:03:04 +01:00
Refreshed patches:
0001-libelf-Add-libeu-objects-to-libelf.a-static-archive.patch
ptest.patch
Changelog:
Version 0.193 "Bugs erased, stacks traced"
debuginfod: Add CORS (webapp access) support to webapi and --cors option.
Add --listen-address option for binding the HTTP listen socket
to a specific IPv4 or IPv6 address.
debuginfod client now caches x-debuginfod-* HTTP headers
alongside downloaded files.
libdw: Add dwarf_language and dwarf_language_lower_bound functions.
Improved support for DWARF6 language metadata as well as DWARF
language constants for Nim, Dylan, Algol68, V and Mojo.
dwarf_srclang is now forward-compatible with DWARF6 language
constants.
libdwfl_stacktrace: Experimental new library interface for unwinding
stack samples into call chains, and tracking and
caching Elf data for multiple processes, building
on libdwfl. Initially supports perf_events stack
sample data.
libelf: elf_scnshndx has been rewritten to be more robust, particularily
for ELF files with more than 64K sections.
readelf: Improved handling of corrupt ELF data.
--section-headers output now includes a "Key to Flags" explaining
section flag meanings.
(From OE-Core rev: ca990ae5a14fa0899dee4fccacf4cac8f212e4e8)
Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
63 lines
2.2 KiB
Diff
63 lines
2.2 KiB
Diff
From 74dad3295f2b8dc06b7e6bb876bc4541e927ef47 Mon Sep 17 00:00:00 2001
|
|
From: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Date: Wed, 1 May 2019 16:37:48 +0100
|
|
Subject: [PATCH] Changes to allow ptest to run standalone on target:
|
|
|
|
a) Run the tests serially
|
|
b) Use the standalone test mode which allows the tests to be run in their
|
|
'installled' locations on target (but not any of the standalone build pieces)
|
|
c) We want to use the binaries from their installed locations so the run-subr
|
|
script needs tweaking to run them like that. The rpath conditional isn't
|
|
enough since we want the second entry in the case statement.
|
|
d) Add an oecheck make target which we can use to build the test binaries we need
|
|
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
|
|
Upstream-Status: Inappropriate [oe specific]
|
|
---
|
|
configure.ac | 2 +-
|
|
tests/Makefile.am | 2 ++
|
|
tests/test-subr.sh | 6 ------
|
|
3 files changed, 3 insertions(+), 7 deletions(-)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 0670e01..14f3e36 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -43,7 +43,7 @@ AC_COPYRIGHT([Copyright (C) 1996-2025 The elfutils developers.])
|
|
AC_PREREQ(2.69) 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/tests/Makefile.am b/tests/Makefile.am
|
|
index 00ba754..6be7dd6 100644
|
|
--- a/tests/Makefile.am
|
|
+++ b/tests/Makefile.am
|
|
@@ -937,3 +937,5 @@ check: check-am coverage
|
|
coverage:
|
|
-$(srcdir)/coverage.sh
|
|
endif
|
|
+oecheck:
|
|
+ $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
|
|
diff --git a/tests/test-subr.sh b/tests/test-subr.sh
|
|
index ea80cbe..7632d20 100644
|
|
--- a/tests/test-subr.sh
|
|
+++ b/tests/test-subr.sh
|
|
@@ -92,12 +92,6 @@ installed_testrun()
|
|
program="$1"
|
|
shift
|
|
case "$program" in
|
|
- ${abs_builddir}/*)
|
|
- if [ "x$elfutils_tests_rpath" != xno ]; then
|
|
- echo >&2 installcheck not possible with --enable-tests-rpath
|
|
- exit 77
|
|
- fi
|
|
- ;;
|
|
${abs_top_builddir}/src/*)
|
|
program=${bindir}/`program_transform ${program##*/}`
|
|
;;
|