diff options
author | Tim Northover <tnorthover@apple.com> | 2013-08-12 12:51:05 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2013-08-12 12:51:05 +0000 |
commit | 931a4feb64f18190d189c222d61b2abf52f18ab8 (patch) | |
tree | cfee240f5e5c26219d52c6bd14347e133a99116c /test/Driver/darwin-as.c | |
parent | 53352600b7370b1d33b9fde1adda207fd9d7dcd1 (diff) | |
download | clang-931a4feb64f18190d189c222d61b2abf52f18ab8.tar.gz |
Fix FileCheck --check-prefix lines.
Various tests had sprung up over the years which had --check-prefix=ABC on the
RUN line, but "CHECK-ABC:" later on. This happened to work before, but was
strictly incorrect. FileCheck is getting stricter soon though.
Patch by Ron Ofir.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188174 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/darwin-as.c')
-rw-r--r-- | test/Driver/darwin-as.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Driver/darwin-as.c b/test/Driver/darwin-as.c index 92c76414a7..8b13d77d01 100644 --- a/test/Driver/darwin-as.c +++ b/test/Driver/darwin-as.c @@ -1,17 +1,17 @@ // RUN: %clang -target i386-apple-darwin10 -### -x assembler -c %s \ // RUN: -no-integrated-as -static -dynamic 2>%t -// RUN: FileCheck -check-prefix=STATIC_AND_DYNAMIC-32 --input-file %t %s +// RUN: FileCheck -check-prefix=CHECK-STATIC_AND_DYNAMIC-32 --input-file %t %s // // CHECK-STATIC_AND_DYNAMIC-32: as{{(.exe)?}}" "-arch" "i386" "-force_cpusubtype_ALL" "-static" "-o" // RUN: %clang -target x86_64-apple-darwin10 -### -x assembler -c %s \ // RUN: -no-integrated-as -static 2>%t -// RUN: FileCheck -check-prefix=STATIC-64 --input-file %t %s +// RUN: FileCheck -check-prefix=CHECK-STATIC-64 --input-file %t %s // // CHECK-STATIC-64: as{{(.exe)?}}" "-arch" "x86_64" "-force_cpusubtype_ALL" "-o" // RUN: %clang -target x86_64-apple-darwin10 -### \ // RUN: -arch armv6 -no-integrated-as -x assembler -c %s 2>%t -// RUN: FileCheck -check-prefix=ARMV6 --input-file %t %s +// RUN: FileCheck -check-prefix=CHECK-ARMV6 --input-file %t %s // // CHECK-ARMV6: as{{(.exe)?}}" "-arch" "armv6" "-o" |