log: disable qemu_log function for "make check V=1"

Lots of patches will use qemu_log, it will cause "make check V=1"
failure. So disable qemu_log when calling "make check V=1".

Signed-off-by: Yan Wang <wangyan122@huawei.com>
This commit is contained in:
Yan Wang 2022-02-11 16:15:40 +08:00 committed by yezengruan
parent cb1e6efc6e
commit 1dfcba926c

View File

@ -1,6 +1,6 @@
Name: qemu Name: qemu
Version: 6.2.0 Version: 6.2.0
Release: 6 Release: 7
Epoch: 2 Epoch: 2
Summary: QEMU is a generic and open source machine emulator and virtualizer Summary: QEMU is a generic and open source machine emulator and virtualizer
License: GPLv2 and BSD and MIT and CC-BY-SA-4.0 License: GPLv2 and BSD and MIT and CC-BY-SA-4.0
@ -331,6 +331,8 @@ for f in %{buildroot}%{_bindir}/* %{buildroot}%{_libdir}/* \
done done
%check %check
echo "#define CONFIG_DISABLE_QEMU_LOG" >> build/config-host.h
make %{?_smp_mflags} $buildldflags V=1
make check V=1 make check V=1
%pre %pre
@ -474,6 +476,9 @@ getent passwd qemu >/dev/null || \
%endif %endif
%changelog %changelog
* Fri Feb 11 2022 Yan Wang <wangyan122@huawei.com>
- log: disable qemu_log function for "make check V=1"
* Fri Feb 11 2022 Yan Wang <wangyan122@huawei.com> * Fri Feb 11 2022 Yan Wang <wangyan122@huawei.com>
- chardev/baum: disable unused brlapi - chardev/baum: disable unused brlapi