]> granicus.if.org Git - clang/commitdiff
Correct my failure at writing proper regex's for FileCheck. Thanks Nick.
authorChandler Carruth <chandlerc@gmail.com>
Sat, 1 Oct 2011 01:46:47 +0000 (01:46 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 1 Oct 2011 01:46:47 +0000 (01:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140920 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/linux-ld.c

index eb3ce557a7b72b63c5827e8c99996bc8d5543389..60a7e0d067b80830f736ce6d1a2d4c5da94054cb 100644 (file)
@@ -3,7 +3,7 @@
 // RUN: %clang -no-canonical-prefixes -ccc-host-triple i386-unknown-linux %s -### -o %t.o 2>&1 \
 // RUN:   | FileCheck --check-prefix=CHECK-LD-32 %s
 // 32-bit machines may use 'lib' or 'lib32' dependending on how they setup multilib.
-// CHECK-LD-32: "{{.*}}ld" {{.*}} "-L/lib/../lib{{32|}}" "-L/usr/lib/../lib{{32|}}"
+// CHECK-LD-32: "{{.*}}ld" {{.*}} "-L/lib/../lib{{(32)?}}" "-L/usr/lib/../lib{{(32)?}}"
 //
 // RUN: %clang -no-canonical-prefixes -ccc-host-triple x86_64-unknown-linux %s -### -o %t.o 2>&1 \
 // RUN:   | FileCheck --check-prefix=CHECK-LD-64 %s