Author: adrian
Date: Tue Jul  7 20:39:38 2015
New Revision: 241656

URL: http://llvm.org/viewvc/llvm-project?rev=241656&view=rev
Log:
Change the expectation for test/Tooling/ms-asm-no-target.cpp since
clang-check now initializes the available targets to support
clang module containers.

Modified:
    cfe/trunk/test/Tooling/ms-asm-no-target.cpp

Modified: cfe/trunk/test/Tooling/ms-asm-no-target.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Tooling/ms-asm-no-target.cpp?rev=241656&r1=241655&r2=241656&view=diff
==============================================================================
--- cfe/trunk/test/Tooling/ms-asm-no-target.cpp (original)
+++ cfe/trunk/test/Tooling/ms-asm-no-target.cpp Tue Jul  7 20:39:38 2015
@@ -1,13 +1,13 @@
-// RUN: not clang-check "%s" -- -fasm-blocks -target x86_64-apple-darwin10 
2>&1 | FileCheck -check-prefix=CHECK-X86 %s
+// RUN: clang-check "%s" -- -fasm-blocks -target x86_64-apple-darwin10 2>&1 | 
FileCheck -check-prefix=CHECK-X86 %s -allow-empty
 // RUN: not clang-check "%s" -- -fasm-blocks -target powerpc-apple-darwin10 
2>&1 | FileCheck -check-prefix=CHECK-PPC %s
-
-// Test that we diagnose instead of crashing when the application hasn't
-// initialized LLVM targets supporting the MS-style inline asm parser.
-// Also test that the ordinary error is emitted on unsupported architectures.
+// REQUIRES: x86-registered-target
 
 void Break() {
   __asm { int 3 }
 }
 
-// CHECK-X86: error: MS-style inline assembly is not available
+// clang-check should initialize the x86 target, so x86 should work.
+// CHECK-X86-NOT: error: MS-style inline assembly is not available
+
+// Test that the ordinary error is emitted on unsupported architectures.
 // CHECK-PPC: error: Unsupported architecture 'powerpc' for MS-style inline 
assembly


_______________________________________________
cfe-commits mailing list
cfe-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to