r290984 - Use -### so the mbig-obj.c test passes when there is no registered x86 target

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 4 10:50:52 PST 2017


Author: rnk
Date: Wed Jan  4 12:50:51 2017
New Revision: 290984

URL: http://llvm.org/viewvc/llvm-project?rev=290984&view=rev
Log:
Use -### so the mbig-obj.c test passes when there is no registered x86 target

Modified:
    cfe/trunk/test/Driver/mbig-obj.c

Modified: cfe/trunk/test/Driver/mbig-obj.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/mbig-obj.c?rev=290984&r1=290983&r2=290984&view=diff
==============================================================================
--- cfe/trunk/test/Driver/mbig-obj.c (original)
+++ cfe/trunk/test/Driver/mbig-obj.c Wed Jan  4 12:50:51 2017
@@ -1,9 +1,6 @@
-// RUN: %clang --target=x86_64-windows -c -Wa,-mbig-obj %s 2>&1 | FileCheck %s --check-prefix=WINDOWS
-// RUN: %clang --target=x86_64-windows -c -Xassembler -mbig-obj %s 2>&1 | FileCheck %s --check-prefix=WINDOWS
-// RUN: not %clang --target=x86_64-linux -c -Wa,-mbig-obj %s 2>&1 | FileCheck %s --check-prefix=LINUX
-// RUN: not %clang --target=x86_64-linux -c -Xassembler -mbig-obj %s 2>&1 | FileCheck %s --check-prefix=LINUX
+// RUN: %clang --target=x86_64-windows -c -Wa,-mbig-obj %s -### 2>&1 | FileCheck %s --check-prefix=WINDOWS
+// RUN: %clang --target=x86_64-windows -c -Xassembler -mbig-obj %s -### 2>&1 | FileCheck %s --check-prefix=WINDOWS
+// RUN: %clang --target=x86_64-linux -c -Wa,-mbig-obj %s -### 2>&1 | FileCheck %s --check-prefix=LINUX
+// RUN: %clang --target=x86_64-linux -c -Xassembler -mbig-obj %s -### 2>&1 | FileCheck %s --check-prefix=LINUX
 // WINDOWS-NOT: argument unused during compilation
 // LINUX: unsupported argument '-mbig-obj' to option '{{(Wa,|Xassembler)}}'
-#ifdef _WIN32
-#warning "produce non-empty output for FileCheck"
-#endif




More information about the cfe-commits mailing list