Author: Mark Zhuang Date: 2026-07-02T08:40:24-03:00 New Revision: 8b10c2e17a4fac8198baf097e0ae37e3dfedd282
URL: https://github.com/llvm/llvm-project/commit/8b10c2e17a4fac8198baf097e0ae37e3dfedd282 DIFF: https://github.com/llvm/llvm-project/commit/8b10c2e17a4fac8198baf097e0ae37e3dfedd282.diff LOG: [modules][test] Loosen size check in embed-files-compressed.cpp (#206879) zlib-ng 2.3.2 on SpacemiT K3 compresses the repetitive input slightly worse than zlib (~84KB vs ~67KB), exceeding the 80KB bound. Raise it to 100KB. Assisted-by: claude-opus Added: Modified: clang/test/Modules/embed-files-compressed.cpp Removed: ################################################################################ diff --git a/clang/test/Modules/embed-files-compressed.cpp b/clang/test/Modules/embed-files-compressed.cpp index 5318aeb10a81e..095270aa7ebf7 100644 --- a/clang/test/Modules/embed-files-compressed.cpp +++ b/clang/test/Modules/embed-files-compressed.cpp @@ -16,7 +16,8 @@ // RUN: %clang_cc1 -fmodules -I%t -fmodules-cache-path=%t -fmodule-name=a -emit-module %t/modulemap -fmodules-embed-all-files -o %t/a.pcm // // The above embeds ~4.5MB of highly-predictable /s and \ns into the pcm file. -// Check that the resulting file is under 80KB: +// Check that the resulting file is under 100KB (zlib-ng compresses a bit +// worse than zlib): // // RUN: wc -c %t/a.pcm | FileCheck --check-prefix=CHECK-SIZE %s -// CHECK-SIZE: {{(^|[^0-9])[1-7][0-9][0-9][0-9][0-9]($|[^0-9])}} +// CHECK-SIZE: {{(^|[^0-9])[1-9][0-9][0-9][0-9][0-9]($|[^0-9])}} _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
