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:
parent
cb1e6efc6e
commit
1dfcba926c
@ -1,6 +1,6 @@
|
||||
Name: qemu
|
||||
Version: 6.2.0
|
||||
Release: 6
|
||||
Release: 7
|
||||
Epoch: 2
|
||||
Summary: QEMU is a generic and open source machine emulator and virtualizer
|
||||
License: GPLv2 and BSD and MIT and CC-BY-SA-4.0
|
||||
@ -331,6 +331,8 @@ for f in %{buildroot}%{_bindir}/* %{buildroot}%{_libdir}/* \
|
||||
done
|
||||
|
||||
%check
|
||||
echo "#define CONFIG_DISABLE_QEMU_LOG" >> build/config-host.h
|
||||
make %{?_smp_mflags} $buildldflags V=1
|
||||
make check V=1
|
||||
|
||||
%pre
|
||||
@ -474,6 +476,9 @@ getent passwd qemu >/dev/null || \
|
||||
%endif
|
||||
|
||||
%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>
|
||||
- chardev/baum: disable unused brlapi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user