From: Artem Belevich Date: Thu, 16 Jun 2016 20:16:49 +0000 (+0000) Subject: Minor fixes for miamcpu-opt.c test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ff2a182e8c4d4e26956f00840bbb1b8129e4f8c;p=clang Minor fixes for miamcpu-opt.c test 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 --- diff --git a/test/Driver/miamcu-opt.c b/test/Driver/miamcu-opt.c index 256a5bddac..d8dccde822 100644 --- a/test/Driver/miamcu-opt.c +++ b/test/Driver/miamcu-opt.c @@ -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'