[compiler-rt] 851817b - fuzzer/strncmp.test: Increase iteration to 20M.

NAKAMURA Takumi via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 14 02:35:02 PDT 2024


Author: NAKAMURA Takumi
Date: 2024-10-14T18:34:36+09:00
New Revision: 851817b49427586273a414ead21d8568e08eed94

URL: https://github.com/llvm/llvm-project/commit/851817b49427586273a414ead21d8568e08eed94
DIFF: https://github.com/llvm/llvm-project/commit/851817b49427586273a414ead21d8568e08eed94.diff

LOG: fuzzer/strncmp.test: Increase iteration to 20M.

I saw cases that this finised before finding `BINGO`, possibly
insufficient number of iteration. In my case, 11,067,133 satisfied.

So, increase the number for now. This change may increase the duration
of this in failing (`BINGO` not found) case.

Added: 
    

Modified: 
    compiler-rt/test/fuzzer/strncmp.test

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/fuzzer/strncmp.test b/compiler-rt/test/fuzzer/strncmp.test
index 91f38a35b9c9ce..9a34c70720b123 100644
--- a/compiler-rt/test/fuzzer/strncmp.test
+++ b/compiler-rt/test/fuzzer/strncmp.test
@@ -1,4 +1,4 @@
 UNSUPPORTED: target={{.*freebsd.*}}
 RUN: %cpp_compiler %S/StrncmpTest.cpp -o %t-StrncmpTest
-RUN: not %run %t-StrncmpTest              -seed=2 -runs=10000000   2>&1 | FileCheck %s
+RUN: not %run %t-StrncmpTest              -seed=2 -runs=20000000   2>&1 | FileCheck %s
 CHECK: BINGO


        


More information about the llvm-commits mailing list