[compiler-rt] [llvm] [libFuzzer] Stop fuzzing if no new corpus were found within a specified period (PR #176177)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 30 00:01:04 PDT 2026
================
@@ -0,0 +1,22 @@
+RUN: %cpp_compiler %S/CleanseTest.cpp -o %t-CleanseTest
+
+# total time - double digits, without new corpus - one digit
+EXIT_ON_TIME: Done {{.*}} runs in {{[0-9][0-9]}} second(s), {{[0-9]}} second(s)
+
+# is timer updated with a new input?
+RUN: rm -rf %t-1
+RUN: mkdir -p %t-1
+RUN: setsid %run %t-CleanseTest -seed=1 -exit_on_time=7 -mutate_depth=0 %t-1 2>%t-1-log & export PID=$!
----------------
vitalybuka wrote:
we should try to avoid go beyond internal lit shell
https://github.com/llvm/llvm-project/pull/176177
More information about the llvm-commits
mailing list