Author: rsmith Date: Mon Jul 20 03:40:51 2015 New Revision: 242661 URL: http://llvm.org/viewvc/llvm-project?rev=242661&view=rev Log: 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.
Modified: cfe/trunk/test/Modules/empty.modulemap Modified: cfe/trunk/test/Modules/empty.modulemap URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/empty.modulemap?rev=242661&r1=242660&r2=242661&view=diff ============================================================================== --- cfe/trunk/test/Modules/empty.modulemap (original) +++ cfe/trunk/test/Modules/empty.modulemap Mon Jul 20 03:40:51 2015 @@ -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 * } _______________________________________________ cfe-commits mailing list cfe-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits