From 8e5264f19386dc607ed43328329dad35a724a3de Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Thu, 6 Sep 2012 16:29:03 +0000 Subject: [PATCH] Tighten up regexps some more. These tests were failing for me because the .* was greedily matching up to the /libexec/ld-elf.so.1" later on the same line. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163328 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Driver/freebsd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/Driver/freebsd.c b/test/Driver/freebsd.c index e87e18fa01..1b7bb92348 100644 --- a/test/Driver/freebsd.c +++ b/test/Driver/freebsd.c @@ -50,25 +50,25 @@ // RUN: %clang %s -### -o %t.o 2>&1 \ // RUN: -target mips-unknown-freebsd10.0 -ccc-clang-archs mips \ // RUN: | FileCheck --check-prefix=CHECK-MIPS %s -// CHECK-MIPS: "{{.*}}ld{{.*}}" +// CHECK-MIPS: "{{[^" ]*}}ld{{[^" ]*}}" // CHECK-MIPS: "-dynamic-linker" "{{.*}}/libexec/ld-elf.so.1" // CHECK-MIPS-NOT: "--hash-style={{gnu|both}}" // RUN: %clang %s -### -o %t.o 2>&1 \ // RUN: -target mipsel-unknown-freebsd10.0 -ccc-clang-archs mipsel \ // RUN: | FileCheck --check-prefix=CHECK-MIPSEL %s -// CHECK-MIPSEL: "{{.*}}ld{{.*}}" +// CHECK-MIPSEL: "{{[^" ]*}}ld{{[^" ]*}}" // CHECK-MIPSEL: "-dynamic-linker" "{{.*}}/libexec/ld-elf.so.1" // CHECK-MIPSEL-NOT: "--hash-style={{gnu|both}}" // RUN: %clang %s -### -o %t.o 2>&1 \ // RUN: -target mips64-unknown-freebsd10.0 -ccc-clang-archs mips64 \ // RUN: | FileCheck --check-prefix=CHECK-MIPS64 %s -// CHECK-MIPS64: "{{.*}}ld{{.*}}" +// CHECK-MIPS64: "{{[^" ]*}}ld{{[^" ]*}}" // CHECK-MIPS64: "-dynamic-linker" "{{.*}}/libexec/ld-elf.so.1" // CHECK-MIPS64-NOT: "--hash-style={{gnu|both}}" // RUN: %clang %s -### -o %t.o 2>&1 \ // RUN: -target mips64el-unknown-freebsd10.0 -ccc-clang-archs mips64el \ // RUN: | FileCheck --check-prefix=CHECK-MIPS64EL %s -// CHECK-MIPS64EL: "{{.*}}ld{{.*}}" +// CHECK-MIPS64EL: "{{[^" ]*}}ld{{[^" ]*}}" // CHECK-MIPS64EL: "-dynamic-linker" "{{.*}}/libexec/ld-elf.so.1" // CHECK-MIPS64EL-NOT: "--hash-style={{gnu|both}}" -- 2.40.0