Commit 4937f4dc authored by Benjamin Berg's avatar Benjamin Berg Committed by Guido Gunther

Add -s -noreset to xvfb-run calls

Xvfb will close when the last client exists, which may be the cause of
sporadic test failures. Add -s -noreset to the command line to prevent
this from happening.
parent ab81aad9
Pipeline #3733 passed with stage
in 3 minutes and 42 seconds
......@@ -20,7 +20,7 @@ build-debian-gcc:
- ninja -C _build
- ninja -C _build meson-libhandy-doc 2>&1 | tee _build/doc/buildlog
- if grep -qs 'warning' _build/doc/buildlog; then exit 1; fi
- xvfb-run ninja -C _build test
- xvfb-run -s -noreset ninja -C _build test
- ninja -C _build coverage
coverage: '/^\s+lines\.+:\s+([\d.]+\%)\s+/'
artifacts:
......@@ -37,7 +37,7 @@ build-debian-gcc-static:
- meson . _build -Dintrospection=disabled -Dstatic=true -Dgtk_doc=false --werror
- ninja -C _build
- test -f _build/src/libhandy-0.0.a
- xvfb-run ninja -C _build test
- xvfb-run -s -noreset ninja -C _build test
build-debian-clang:
image: debian:buster
......
......@@ -9,7 +9,7 @@ override_dh_auto_configure:
dh_auto_configure -- -Dgtk_doc=true
override_dh_auto_test:
xvfb-run dh_auto_test
xvfb-run -s -noreset dh_auto_test
override_dh_makeshlibs:
dh_makeshlibs -VUpstream-Version
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment