[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] [patch 2/3] tests/: test-resume-sig FAIL -> SKIP
From: |
Jan Kratochvil |
Subject: |
[Libunwind-devel] [patch 2/3] tests/: test-resume-sig FAIL -> SKIP |
Date: |
Thu, 10 May 2007 22:56:22 +0200 |
User-agent: |
Mutt/1.4.2.2i |
Hi,
2006-12-16 Jan Kratochvil <address@hidden>
* tests/Gtest-resume-sig.c (main): Return SKIP instead of FAIL on ia64
as the libunwind functionality is still not implemented for non-ia64.
--- ./tests/Gtest-resume-sig.c 10 Dec 2006 14:31:14 -0000 1.2
+++ ./tests/Gtest-resume-sig.c 16 Dec 2006 17:32:42 -0000 1.3
@@ -177,10 +177,19 @@ main (int argc, char **argv)
if (!got_usr2)
panic ("failed to get SIGUSR2\n");
+#ifdef __ia64__
+ if (!nerrors)
+ panic ("Unexpected PASS on non-ia64 platform\n");
+#endif /* !__ia64__ */
if (nerrors)
{
+#ifdef __ia64__
fprintf (stderr, "FAILURE: detected %d errors\n", nerrors);
exit (-1);
+#else /* !__ia64__ */
+ fprintf (stderr, "Known bug: non-ia64 `resume_restores_sigmask' not
implemented\n");
+ exit (77);
+#endif /* !__ia64__ */
}
if (verbose)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Libunwind-devel] [patch 2/3] tests/: test-resume-sig FAIL -> SKIP,
Jan Kratochvil <=