From 19ae1175ae8d2597d16ea5ce7bb9f0993cd6765c Mon Sep 17 00:00:00 2001 From: Tim Northover Date: Mon, 12 Aug 2013 12:51:05 +0000 Subject: 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. llvm-svn: 188174 --- clang/test/Driver/darwin-as.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'clang/test/Driver/darwin-as.c') diff --git a/clang/test/Driver/darwin-as.c b/clang/test/Driver/darwin-as.c index 92c76414a72..8b13d77d014 100644 --- a/clang/test/Driver/darwin-as.c +++ b/clang/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" -- cgit v1.2.3