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}
|
||||
|
||||
# for tests
|
||||
BuildRequires: xorg-x11-server-Xvfb
|
||||
BuildRequires: tigervnc-server-minimal
|
||||
BuildRequires: words
|
||||
|
||||
Requires: glib2%{?_isa} >= %{glib2_version}
|
||||
@ -59,9 +59,9 @@ developing applications that use %{name}.
|
||||
|
||||
|
||||
%check
|
||||
# run tests one at a time to try and prevent random failures with xvfb
|
||||
%define _smp_build_ncpus 1
|
||||
xvfb-run -w 10 eval "%meson_test"
|
||||
Xvnc :99 -nolisten tcp &
|
||||
export DISPLAY=:99
|
||||
%meson_test
|
||||
|
||||
|
||||
%files -f libdazzle-1.0.lang
|
||||
@ -88,6 +88,9 @@ xvfb-run -w 10 eval "%meson_test"
|
||||
|
||||
|
||||
%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
|
||||
- Run test one at a time to tyy to fix FTBFS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user