* [PATCH v2] fuzz: only use generic-fuzz targets on oss-fuzz
@ 2022-06-23 12:55 Alexander Bulekov
2022-06-24 8:16 ` Paolo Bonzini
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Bulekov @ 2022-06-23 12:55 UTC (permalink / raw)
To: qemu-devel
Cc: Alexander Bulekov, Darren Kenny, Paolo Bonzini, Bandan Das,
Stefan Hajnoczi, Thomas Huth, Qiuhao Li
The non-generic-fuzz targets often time-out, or run out of memory.
Additionally, they create unreproducible bug-reports. It is possible
that this is resulting in failing coverage-reports on OSS-Fuzz. In the
future, these test-cases should be fixed, or removed.
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
---
scripts/oss-fuzz/build.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/oss-fuzz/build.sh b/scripts/oss-fuzz/build.sh
index 98b56e0521..aaf485cb55 100755
--- a/scripts/oss-fuzz/build.sh
+++ b/scripts/oss-fuzz/build.sh
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
#
# OSS-Fuzz build script. See:
# https://google.github.io/oss-fuzz/getting-started/new-project-guide/#buildsh
@@ -105,7 +105,7 @@ do
# to be configured. We have some generic-fuzz-{pc-q35, floppy, ...} targets
# that are thin wrappers around this target that set the required
# environment variables according to predefined configs.
- if [ "$target" != "generic-fuzz" ]; then
+ if [[ $target == "generic-fuzz-"* ]]; then
ln $base_copy \
"$DEST_DIR/qemu-fuzz-i386-target-$target"
fi
--
2.27.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] fuzz: only use generic-fuzz targets on oss-fuzz
2022-06-23 12:55 [PATCH v2] fuzz: only use generic-fuzz targets on oss-fuzz Alexander Bulekov
@ 2022-06-24 8:16 ` Paolo Bonzini
0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2022-06-24 8:16 UTC (permalink / raw)
To: Alexander Bulekov
Cc: qemu-devel, Darren Kenny, Bandan Das, Stefan Hajnoczi,
Thomas Huth, Qiuhao Li
Queued, thanks.
Paolo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-24 8:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-23 12:55 [PATCH v2] fuzz: only use generic-fuzz targets on oss-fuzz Alexander Bulekov
2022-06-24 8:16 ` Paolo Bonzini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).