mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-01-08 18:33:42 +01:00
multilib: XFAIL some tests
Ptrace interface doesn't understand multilib registers, so tests all fail.
This commit is contained in:
parent
7f1aebadbf
commit
60663c8f69
2 changed files with 9 additions and 0 deletions
|
@ -162,6 +162,7 @@ AC_MSG_RESULT([$target_os])
|
|||
AM_CONDITIONAL(BUILD_COREDUMP, test x$enable_coredump = xyes)
|
||||
AM_CONDITIONAL(BUILD_PTRACE, test x$enable_ptrace = xyes)
|
||||
AM_CONDITIONAL(BUILD_SETJMP, test x$enable_setjmp = xyes)
|
||||
AM_CONDITIONAL(NO_PTRACE_TEST, test x$build_arch != x$host_arch)
|
||||
AM_CONDITIONAL(REMOTE_ONLY, test x$target_arch != x$host_arch)
|
||||
AM_CONDITIONAL(ARCH_AARCH64, test x$target_arch = xaarch64)
|
||||
AM_CONDITIONAL(ARCH_ARM, test x$target_arch = xarm)
|
||||
|
@ -401,6 +402,7 @@ case "$ac_cv_search_backtrace" in
|
|||
*) BACKTRACELIB="";;
|
||||
esac
|
||||
|
||||
|
||||
AC_SUBST(build_arch)
|
||||
AC_SUBST(target_os)
|
||||
AC_SUBST(arch)
|
||||
|
|
|
@ -116,6 +116,13 @@ if ARCH_ARM
|
|||
XFAIL_TESTS += $(XFAIL_TESTS_PTRACE_SINGLESTEP)
|
||||
endif
|
||||
|
||||
# This is meant for multilib binaries, -m32.
|
||||
# ptrace gives EBADREG when testing,
|
||||
# but generally everything else works.
|
||||
if NO_PTRACE_TEST
|
||||
XFAIL_TESTS += run-ptrace-mapper test-ptrace Ltest-init-local-signal
|
||||
endif
|
||||
|
||||
noinst_PROGRAMS = $(noinst_PROGRAMS_common) $(noinst_PROGRAMS_cdep) \
|
||||
$(noinst_PROGRAMS_arch)
|
||||
|
||||
|
|
Loading…
Reference in a new issue