Switch to running tests under Xvnc instead of xvfb
xfvb is still randomly failing so lets try switching to Xvnc
This commit is contained in:
parent
a04287ed65
commit
42dc472522
@ -21,7 +21,7 @@ BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|||||||
BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk3_version}
|
BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk3_version}
|
||||||
|
|
||||||
# for tests
|
# for tests
|
||||||
BuildRequires: xorg-x11-server-Xvfb
|
BuildRequires: tigervnc-server-minimal
|
||||||
BuildRequires: words
|
BuildRequires: words
|
||||||
|
|
||||||
Requires: glib2%{?_isa} >= %{glib2_version}
|
Requires: glib2%{?_isa} >= %{glib2_version}
|
||||||
@ -59,9 +59,9 @@ developing applications that use %{name}.
|
|||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# run tests one at a time to try and prevent random failures with xvfb
|
Xvnc :99 -nolisten tcp &
|
||||||
%define _smp_build_ncpus 1
|
export DISPLAY=:99
|
||||||
xvfb-run -w 10 eval "%meson_test"
|
%meson_test
|
||||||
|
|
||||||
|
|
||||||
%files -f libdazzle-1.0.lang
|
%files -f libdazzle-1.0.lang
|
||||||
@ -88,6 +88,9 @@ xvfb-run -w 10 eval "%meson_test"
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 21 2022 Yanko Kaneti <yaneti@declera.com> - 3.42.0-4
|
||||||
|
- Switch to running tests under Xvnc instead of xvfb
|
||||||
|
|
||||||
* Fri Jan 21 2022 Yanko Kaneti <yaneti@declera.com> - 3.42.0-3
|
* Fri Jan 21 2022 Yanko Kaneti <yaneti@declera.com> - 3.42.0-3
|
||||||
- Run test one at a time to tyy to fix FTBFS
|
- Run test one at a time to tyy to fix FTBFS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user