X-Git-Url: https://repo.jachan.dev/qemu.git/blobdiff_plain/3fbd3405d2b0604ea530fc7a1828f19da1e95ff9..aef87784f93b9e7e07ea7b2ee9dee4c257c1881f:/tests/check-block.sh diff --git a/tests/check-block.sh b/tests/check-block.sh index c8b6cec3f6..ad320c21ba 100755 --- a/tests/check-block.sh +++ b/tests/check-block.sh @@ -16,11 +16,16 @@ if [ "$#" -ne 0 ]; then format_list="$@" fi -if grep -q "TARGET_GPROF=y" *-softmmu/config-target.mak 2>/dev/null ; then +if grep -q "CONFIG_GPROF=y" config-host.mak 2>/dev/null ; then echo "GPROF is enabled ==> Not running the qemu-iotests." exit 0 fi +if grep -q "CFLAGS.*-fsanitize" config-host.mak 2>/dev/null ; then + echo "Sanitizers are enabled ==> Not running the qemu-iotests." + exit 0 +fi + if [ -z "$(find . -name 'qemu-system-*' -print)" ]; then echo "No qemu-system binary available ==> Not running the qemu-iotests." exit 0