summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/empty.modulemap
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-07-20 08:40:51 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-07-20 08:40:51 +0000
commit842d61f50c4b9db87fec295279e8c7565900d2dd (patch)
treee4a3c7e4e754b11a6ab04c157b63bac8f9f49493 /clang/test/Modules/empty.modulemap
parent658df8b2eed27cb15b46adcf4db5286b20c988f2 (diff)
downloadbcm5719-llvm-842d61f50c4b9db87fec295279e8c7565900d2dd.tar.gz
bcm5719-llvm-842d61f50c4b9db87fec295279e8c7565900d2dd.zip
Attempt to fix greendragon buildbot failures; apparently wc sometimes inserts a leading space into its output. Just check for a matching number anywhere in the output.
llvm-svn: 242661
Diffstat (limited to 'clang/test/Modules/empty.modulemap')
-rw-r--r--clang/test/Modules/empty.modulemap4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Modules/empty.modulemap b/clang/test/Modules/empty.modulemap
index d451ad21547..0d1718409d5 100644
--- a/clang/test/Modules/empty.modulemap
+++ b/clang/test/Modules/empty.modulemap
@@ -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 * }
OpenPOWER on IntegriCloud