]> granicus.if.org Git - clang/commitdiff
Disable and XFAIL a test that never worked
authorAlp Toker <alp@nuanti.com>
Thu, 16 Jan 2014 02:36:24 +0000 (02:36 +0000)
committerAlp Toker <alp@nuanti.com>
Thu, 16 Jan 2014 02:36:24 +0000 (02:36 +0000)
-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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199347 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/warn-thread-safety-analysis.c

index 1918aceee6dac9e4c905c4bdaa08fd94304cbff7..f5b2709f7f3ce52627f5282a97f2ccbb9e292312 100644 (file)
@@ -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))