]> granicus.if.org Git - clang/commitdiff
Minor fixes for miamcpu-opt.c test
authorArtem Belevich <tra@google.com>
Thu, 16 Jun 2016 20:16:49 +0000 (20:16 +0000)
committerArtem Belevich <tra@google.com>
Thu, 16 Jun 2016 20:16:49 +0000 (20:16 +0000)
Added -no-canonical-prefixes to make cc1 binary name more predictable.
Added appropriate REQUIRES keywords.

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

test/Driver/miamcu-opt.c

index 256a5bddac31709cdc198d2a940545f06c30b23a..d8dccde822141bf362c7c4c937272890640e466b 100644 (file)
@@ -1,9 +1,12 @@
-// RUN: %clang -miamcu %s -### -o %t.o 2>&1 | FileCheck %s
-// RUN: %clang -miamcu -m32 %s -### -o %t.o 2>&1 | FileCheck %s
-// RUN: %clang -miamcu -target x86_64-unknown-linux-gnu %s -### -o %t.o 2>&1 | FileCheck %s
-// RUN: %clang -miamcu -m64 %s -### -o %t.o 2>&1 | FileCheck %s -check-prefix=M64
-// RUN: %clang -miamcu -dynamic %s -### -o %t.o 2>&1 | FileCheck %s -check-prefix=DYNAMIC
-// RUN: %clang -miamcu -target armv8-eabi %s -### -o %t.o 2>&1 | FileCheck %s -check-prefix=NOT-X86
+// REQUIRES: clang-driver
+// REQUIRES: x86-registered-target
+//
+// RUN: %clang -miamcu -no-canonical-prefixes %s -### -o %t.o 2>&1 | FileCheck %s
+// RUN: %clang -miamcu -no-canonical-prefixes -m32 %s -### -o %t.o 2>&1 | FileCheck %s
+// RUN: %clang -miamcu -no-canonical-prefixes -target x86_64-unknown-linux-gnu %s -### -o %t.o 2>&1 | FileCheck %s
+// RUN: %clang -miamcu -no-canonical-prefixes -m64 %s -### -o %t.o 2>&1 | FileCheck %s -check-prefix=M64
+// RUN: %clang -miamcu -no-canonical-prefixes -dynamic %s -### -o %t.o 2>&1 | FileCheck %s -check-prefix=DYNAMIC
+// RUN: %clang -miamcu -no-canonical-prefixes  -target armv8-eabi %s -### -o %t.o 2>&1 | FileCheck %s -check-prefix=NOT-X86
 
 // M64: error: invalid argument '-miamcu' not allowed with '-m64'