This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

[libitm] Skip static_ctor.C test (PR libitm/51173)


As suggested in the PR, it would be better to just skip the test to
avoid noise in mail-report.log:

WARNING: libitm.c++/static_ctor.C compilation failed to produce executable

The following patch does just that, and simplifies the dg-skip-if on the
way.

Bootstrapped without regressions on i386-pc-solaris2.11.

Ok for mainline?

	Rainer


2012-01-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR libitm/51173
	* testsuite/libitm.c++/static_ctor.C: Skip test, note PR, remove
	include, exclude options.

# HG changeset patch
# Parent c013b883e9b76d625eab175a405af3115e16708c
Skip static_ctor.C test (PR libitm/???)

diff --git a/libitm/testsuite/libitm.c++/static_ctor.C b/libitm/testsuite/libitm.c++/static_ctor.C
--- a/libitm/testsuite/libitm.c++/static_ctor.C
+++ b/libitm/testsuite/libitm.c++/static_ctor.C
@@ -1,6 +1,6 @@
 /* { dg-do run } */
 /* { dg-options "-pthread" } */
-/* { dg-xfail-if "" { *-*-* } { "*" } { "" } } */
+/* { dg-skip-if "PR libitm/51822" { *-*-* } } */
 /* Tests static constructors inside of transactional code.  */
 
 #include <pthread.h>

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

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