]> git.proxmox.com Git - mirror_qemu.git/commitdiff
gitlab-ci.yml: Only run one test-case per fuzzer
authorAlexander Bulekov <alxndr@bu.edu>
Fri, 2 Oct 2020 14:35:24 +0000 (10:35 -0400)
committerThomas Huth <thuth@redhat.com>
Tue, 13 Oct 2020 06:08:55 +0000 (08:08 +0200)
With 1000 runs, there is a non-negligible chance that the fuzzer can
trigger a crash. With this CI job, we care about catching build/runtime
issues in the core fuzzing code. Actual device fuzzing takes place on
oss-fuzz. For these purposes, only running one input should be
sufficient.

Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Suggested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20201002143524.56930-1-alxndr@bu.edu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
.gitlab-ci.yml

index a51c89554f65c3c4e5fe368be6509b9085cbba21..075c15d45c5e5fefa260d899ae4eca144289ffb4 100644 (file)
@@ -303,7 +303,7 @@ build-oss-fuzz:
                       | grep -v slirp); do
         grep "LLVMFuzzerTestOneInput" ${fuzzer} > /dev/null 2>&1 || continue ;
         echo Testing ${fuzzer} ... ;
-        "${fuzzer}" -runs=1000 -seed=1 || exit 1 ;
+        "${fuzzer}" -runs=1 -seed=1 || exit 1 ;
       done
     # Unrelated to fuzzer: run some tests with -fsanitize=address
     - cd build-oss-fuzz && make check-qtest-i386 check-unit