This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Add tests that backtrace and backtrace_symbols produce correct results
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Sat, 19 Jan 2013 21:55:43 +0100
- Subject: Re: Add tests that backtrace and backtrace_symbols produce correct results
- References: <Pine.LNX.4.64.1301180229050.25419@digraph.polyomino.org.uk>
"Joseph S. Myers" <joseph@codesourcery.com> writes:
> + for (i = 0; i < n - 1; ++i)
> + if (strstr (symbols[i], "fn") == NULL)
> + {
> + FAIL ();
This always fails for do_test, and can also spuriously match the build
directory name.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."