]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
tests: Check ELFUTILS_DISABLE_DEMANGLE in run-addr2line-C-test.sh
authorMark Wielaard <mark@klomp.org>
Fri, 3 Feb 2023 12:44:17 +0000 (13:44 +0100)
committerMark Wielaard <mark@klomp.org>
Fri, 3 Feb 2023 12:44:17 +0000 (13:44 +0100)
https://sourceware.org/bugzilla/show_bug.cgi?id=30072

Signed-off-by: Mark Wielaard <mark@klomp.org>
tests/ChangeLog
tests/run-addr2line-C-test.sh

index 6c51eb3b0364c1f5af6fc2d54a2d638f8388077a..974a3a4fc5a38e973150da75b7745b5360e073a5 100644 (file)
@@ -1,3 +1,7 @@
+2023-02-03  Mark Wielaard  <mark@klomp.org>
+
+       * run-addr2line-C-test.sh: Check ELFUTILS_DISABLE_DEMANGLE.
+
 2023-01-22  Mark Wielaard  <mark@klomp.org>
 
        * testfile-inlines-lto.bz2: New testfile.
index 8c63d78decb124c2836bff4fb1153b6f8cf2f11b..1780157dc11daa5c76a5d0391acb498062548fd4 100755 (executable)
 
 . $srcdir/test-subr.sh
 
+if test -n "$ELFUTILS_DISABLE_DEMANGLE"; then
+  echo "demangler unsupported"
+  exit 77
+fi
+
 # See run-addr2line-i-test.sh
 testfiles testfile-inlines