!170 enable unit test

From: @zhouwenpei 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
This commit is contained in:
openeuler-ci-bot 2023-09-08 06:38:39 +00:00 committed by Gitee
commit 1fc4c6f28d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -16,7 +16,7 @@
Name: xorg-x11-server Name: xorg-x11-server
Version: 1.20.11 Version: 1.20.11
Release: 20 Release: 21
Summary: X.Org X11 X server Summary: X.Org X11 X server
License: MIT and GPLv2 License: MIT and GPLv2
URL: https://www.x.org URL: https://www.x.org
@ -123,6 +123,7 @@ BuildRequires: xorg-x11-font-utils >= 7.2 libselinux-devel >= 2.0.86
BuildRequires: libxshmfence-devel >= 1.1 pixman-devel >= 0.30.0 libdrm-devel >= 2.4.0 BuildRequires: libxshmfence-devel >= 1.1 pixman-devel >= 0.30.0 libdrm-devel >= 2.4.0
BuildRequires: mesa-libGL-devel >= 9.2 libpciaccess-devel >= 0.13.1 BuildRequires: mesa-libGL-devel >= 9.2 libpciaccess-devel >= 0.13.1
BuildRequires: wayland-devel wayland-protocols-devel egl-wayland-devel BuildRequires: wayland-devel wayland-protocols-devel egl-wayland-devel
BuildRequires: xorg-x11-xkb-utils xkeyboard-config
%ifarch aarch64 %{arm} x86_64 sw_64 %ifarch aarch64 %{arm} x86_64 sw_64
BuildRequires: libunwind-devel BuildRequires: libunwind-devel
@ -304,7 +305,7 @@ autoreconf -ivf || exit 1
--enable-xselinux --enable-record --enable-present \ --enable-xselinux --enable-record --enable-present \
--enable-xcsecurity \ --enable-xcsecurity \
--enable-config-udev \ --enable-config-udev \
--disable-unit-tests \ --enable-unit-tests \
--enable-dmx \ --enable-dmx \
--disable-xwayland \ --disable-xwayland \
%{dri_flags} %{?bodhi_flags} \ %{dri_flags} %{?bodhi_flags} \
@ -447,6 +448,9 @@ find %{inst_srcdir}/hw/xfree86 -name \*.c -delete
%{_mandir}/man*/* %{_mandir}/man*/*
%changelog %changelog
* Thu Sep 07 2023 zhouwenpei <zhouwenpei1@h-partners.com> -1.20.11-21
- enable unit test
* Thu Jul 13 2023 leeffo <liweiganga@uniontech.com> -1.20.11-20 * Thu Jul 13 2023 leeffo <liweiganga@uniontech.com> -1.20.11-20
- Fix build with gcc 12 - Fix build with gcc 12