This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug general/23901] run-backtrace-native-core returns error isntead of skip


https://sourceware.org/bugzilla/show_bug.cgi?id=23901

--- Comment #3 from Mark Wielaard <mark at klomp dot org> ---
Odd, the trap on exit really should remove those.
But explicitly cleaning the test files seems to work:

diff --git a/tests/backtrace-subr.sh b/tests/backtrace-subr.sh
index ff42c6f..53c719d 100644
--- a/tests/backtrace-subr.sh
+++ b/tests/backtrace-subr.sh
@@ -85,6 +85,7 @@ check_unsupported()
   testname=$2
   if grep -q ': Unwinding not supported for this architecture$' $err; then
     echo >&2 $testname: arch not supported
+    test_cleanup
     exit 77
   fi
 }

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]