https://github.com/zqb-all created https://github.com/llvm/llvm-project/pull/206879
zlib-ng compresses the repetitive input slightly worse than zlib (~84KB vs ~67KB), exceeding the 80KB bound. Raise it to 100KB. Assisted-by: claude-opus >From 25dbaac30ea8937bd09f95478c0a4c3fc0e37ac1 Mon Sep 17 00:00:00 2001 From: Mark Zhuang <[email protected]> Date: Wed, 1 Jul 2026 09:22:07 +0800 Subject: [PATCH] [modules][test] Loosen size check in embed-files-compressed.cpp zlib-ng compresses the repetitive input slightly worse than zlib (~84KB vs ~67KB), exceeding the 80KB bound. Raise it to 100KB. Assisted-by: claude-opus --- clang/test/Modules/embed-files-compressed.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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
