[llvm] r186246 - Only verify the length in archive test, we can't make assumptions on the spacing.

Benjamin Kramer benny.kra at googlemail.com
Sat Jul 13 08:21:40 PDT 2013


Author: d0k
Date: Sat Jul 13 10:21:39 2013
New Revision: 186246

URL: http://llvm.org/viewvc/llvm-project?rev=186246&view=rev
Log:
Only verify the length in archive test, we can't make assumptions on the spacing.

And .* did just match about anything anyways.

Modified:
    llvm/trunk/test/Object/archive-format.test

Modified: llvm/trunk/test/Object/archive-format.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/archive-format.test?rev=186246&r1=186245&r2=186246&view=diff
==============================================================================
--- llvm/trunk/test/Object/archive-format.test (original)
+++ llvm/trunk/test/Object/archive-format.test Sat Jul 13 10:21:39 2013
@@ -16,7 +16,7 @@ RUN: cat test.a | FileCheck -strict-whit
 CHECK:      !<arch>
 CHECK-NEXT: //                                              18        `
 CHECK-NEXT: 0123456789abcdef/
-CHECK-NEXT: 0123456789abcde/{{.*}}  {{.*}}  {{.*}}  {{.*}}  4         `
+CHECK-NEXT: 0123456789abcde/{{................................}}4         `
 CHECK-NEXT: bar
-CHECK-NEXT: /0              {{.*}}  {{.*}}  {{.*}}  {{.*}}  4         `
+CHECK-NEXT: /0              {{................................}}4         `
 CHECK-NEXT: zed





More information about the llvm-commits mailing list