]> granicus.if.org Git - clang/commitdiff
Attempt to fix greendragon buildbot failures; apparently wc sometimes inserts a leadi...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 20 Jul 2015 08:40:51 +0000 (08:40 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 20 Jul 2015 08:40:51 +0000 (08:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242661 91177308-0d34-0410-b5e6-96231b3b80d8

test/Modules/empty.modulemap

index d451ad21547718f5eca554cd72318c52ce1bbd45..0d1718409d551cd62101e36e21577d6deae6b82d 100644 (file)
@@ -13,9 +13,9 @@
 // The module file should be identical each time we produce it.
 // RUN: diff %t/base.pcm %t/check.pcm
 //
-// We expect an empty module to be less than 30KB.
+// We expect an empty module to be less than 30KB (and at least 10K, for now).
 // REQUIRES: shell
 // RUN: wc -c %t/base.pcm | FileCheck --check-prefix=CHECK-SIZE %s
-// CHECK-SIZE: {{^[12][0-9]{4} }}
+// CHECK-SIZE: {{(^|[^0-9])[12][0-9][0-9][0-9][0-9]($|[^0-9])}}
 
 module empty { header "Inputs/empty.h" export * }