]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/unit: match some unit tests to corresponding feature switches
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 8 Apr 2024 15:53:16 +0000 (17:53 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 18 Apr 2024 09:17:27 +0000 (11:17 +0200)
commit34dca3f5be81897338176cd4bbe54fecbdd5c3af
tree286bd08d7812e9595e19f4086a24f5adb3a90be8
parentbb23c33f9381a8986798deb896cd15c2c0932cc6
tests/unit: match some unit tests to corresponding feature switches

Try not to test code that is not used by user mode emulation, or by the
block layer, unless they are being compiled; and fix test-timed-average
which was not compiled with --disable-system --enable-tools.

This is by no means complete, it only touches the more blatantly
wrong cases.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20240408155330.522792-5-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/unit/meson.build