2016-07-12 11:23:40 +02:00
|
|
|
qemu-linux-user does not support ptrace, disable tests that depend on it
|
2017-06-19 10:01:08 +02:00
|
|
|
/proc/self/auxv is not properly abstracted away
|
2016-07-12 11:23:40 +02:00
|
|
|
|
2018-06-10 18:22:10 +02:00
|
|
|
Index: elfutils-0.171/tests/Makefile.am
|
2016-07-12 11:23:40 +02:00
|
|
|
===================================================================
|
2018-06-10 18:22:10 +02:00
|
|
|
--- elfutils-0.171.orig/tests/Makefile.am
|
|
|
|
+++ elfutils-0.171/tests/Makefile.am
|
|
|
|
@@ -102,7 +102,7 @@ TESTS = run-arextract.sh run-arsymtest.s
|
2017-06-19 10:01:08 +02:00
|
|
|
run-native-test.sh run-bug1-test.sh \
|
|
|
|
run-debuglink.sh run-debugaltlink.sh run-buildid.sh \
|
|
|
|
dwfl-bug-addr-overflow run-addrname-test.sh \
|
|
|
|
- dwfl-bug-fd-leak dwfl-bug-report \
|
|
|
|
+ dwfl-bug-report \
|
|
|
|
run-dwfl-bug-offline-rel.sh run-dwfl-addr-sect.sh \
|
|
|
|
run-disasm-x86.sh run-disasm-x86-64.sh \
|
|
|
|
run-early-offscn.sh run-dwarf-getmacros.sh run-dwarf-ranges.sh \
|
2018-06-10 18:22:10 +02:00
|
|
|
@@ -134,8 +134,8 @@ TESTS = run-arextract.sh run-arsymtest.s
|
|
|
|
run-readelf-types.sh \
|
2016-07-12 11:23:40 +02:00
|
|
|
run-readelf-dwz-multi.sh run-allfcts-multi.sh run-deleted.sh \
|
2018-03-26 17:46:58 +02:00
|
|
|
run-linkmap-cut.sh run-aggregate-size.sh run-peel-type.sh \
|
|
|
|
- vdsosyms run-readelf-A.sh \
|
2016-07-12 11:23:40 +02:00
|
|
|
- run-getsrc-die.sh run-strptr.sh newdata elfstrtab dwfl-proc-attach \
|
2018-03-26 17:46:58 +02:00
|
|
|
+ run-readelf-A.sh \
|
2016-07-12 11:23:40 +02:00
|
|
|
+ run-getsrc-die.sh run-strptr.sh newdata elfstrtab \
|
|
|
|
elfshphehdr run-lfs-symbols.sh run-dwelfgnucompressed.sh \
|
|
|
|
run-elfgetchdr.sh \
|
|
|
|
run-elfgetzdata.sh run-elfputzdata.sh run-zstrptr.sh \
|
2018-06-10 18:22:10 +02:00
|
|
|
Index: elfutils-0.171/tests/backtrace-subr.sh
|
2016-07-12 11:23:40 +02:00
|
|
|
===================================================================
|
2018-06-10 18:22:10 +02:00
|
|
|
--- elfutils-0.171.orig/tests/backtrace-subr.sh
|
|
|
|
+++ elfutils-0.171/tests/backtrace-subr.sh
|
2018-03-26 17:46:58 +02:00
|
|
|
@@ -106,6 +106,11 @@ check_native_unsupported()
|
2016-07-12 11:23:40 +02:00
|
|
|
fi
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
+
|
|
|
|
+ if egrep 'qemu: Unsupported syscall' $err; then
|
|
|
|
+ echo >&2 $testname: qemu-linux-user does not support ptrace
|
|
|
|
+ exit 77
|
|
|
|
+ fi
|
|
|
|
}
|
|
|
|
|
|
|
|
check_core()
|