r199347 - Disable and XFAIL a test that never worked

Alp Toker alp at nuanti.com
Wed Jan 15 18:36:24 PST 2014


Author: alp
Date: Wed Jan 15 20:36:24 2014
New Revision: 199347

URL: http://llvm.org/viewvc/llvm-project?rev=199347&view=rev
Log:
Disable and XFAIL a test that never worked

-verify was simply ignored by the driver.

This commit fixes the RUN line and XFAILs the test, unblocking changes to ban
use of the driver in Sema tests and avoid problems like this.

Modified:
    cfe/trunk/test/Sema/warn-thread-safety-analysis.c

Modified: cfe/trunk/test/Sema/warn-thread-safety-analysis.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/warn-thread-safety-analysis.c?rev=199347&r1=199346&r2=199347&view=diff
==============================================================================
--- cfe/trunk/test/Sema/warn-thread-safety-analysis.c (original)
+++ cfe/trunk/test/Sema/warn-thread-safety-analysis.c Wed Jan 15 20:36:24 2014
@@ -1,4 +1,6 @@
-// RUN: %clang -fsyntax-only -verify -Wthread-safety -Wthread-safety-beta -fcxx-exceptions %s
+// RUN: %clang_cc1 -fsyntax-only -verify -Wthread-safety -Wthread-safety-beta -fcxx-exceptions %s
+// FIXME: This test never worked due to a broken RUN line.
+// XFAIL: *
 
 #define LOCKABLE            __attribute__ ((lockable))
 #define SCOPED_LOCKABLE     __attribute__ ((scoped_lockable))





More information about the cfe-commits mailing list