[memstomp] xfail linenumber test for aarch64 and arm

Jeffrey Law law at fedoraproject.org
Tue Aug 26 23:50:28 UTC 2014


commit d5b6902930384112cbe3458576635e8a8cc0ece3
Author: Jeff Law <law at redhat.com>
Date:   Tue Aug 26 17:50:18 2014 -0600

    xfail linenumber test for aarch64 and arm

 memstomp-rh1133815.patch |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/memstomp-rh1133815.patch b/memstomp-rh1133815.patch
index 9e9514d..47b8e8c 100644
--- a/memstomp-rh1133815.patch
+++ b/memstomp-rh1133815.patch
@@ -62,8 +62,8 @@ diff -Nrup a/testsuite/memstomp.lineinfo/linenumber.c b/testsuite/memstomp.linei
 +
 diff -Nrup a/testsuite/memstomp.lineinfo/linenumber.exp b/testsuite/memstomp.lineinfo/linenumber.exp
 --- a/testsuite/memstomp.lineinfo/linenumber.exp	1969-12-31 17:00:00.000000000 -0700
-+++ b/testsuite/memstomp.lineinfo/linenumber.exp	2014-08-26 14:30:19.094163290 -0600
-@@ -0,0 +1,63 @@
++++ b/testsuite/memstomp.lineinfo/linenumber.exp	2014-08-26 17:49:55.493353200 -0600
+@@ -0,0 +1,65 @@
 +# Copyright (C) 2014 Free Software Foundation, Inc.
 +
 +# This program is free software; you can redistribute it and/or modify
@@ -111,6 +111,8 @@ diff -Nrup a/testsuite/memstomp.lineinfo/linenumber.exp b/testsuite/memstomp.lin
 +    pass "$src compilation $results"
 +  }
 +
++  # ARM's unwinder seems broken, assuming aarch64 is broken as well
++  setup_xfail arm*-*-* aarch64-*-*
 +  catch {exec /bin/bash -c "LD_PRELOAD=$libmemstomp:$libmemstomp_backtrace_symbols ./a.out"} results
 +  if {[regexp "linenumber.c:8" $results]} {
 +    pass "$src found overlap on right line $results"


More information about the scm-commits mailing list