From 29a2ef18154808e622c0cd0b4e993e0e62b6b679 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 22 Oct 2018 19:48:46 +0200 Subject: extra/python: disable xvfb tests on i486 --- extra/python/PKGBUILD | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'extra/python') diff --git a/extra/python/PKGBUILD b/extra/python/PKGBUILD index 30e16fe8..5521b6d6 100644 --- a/extra/python/PKGBUILD +++ b/extra/python/PKGBUILD @@ -14,3 +14,24 @@ eval "$( s/ -m test.regrtest/ -m test.regrtest -j1/ " )" + +makedepends=(${makedepends[@]//xorg-server-xvfb/}) +makedepends_i686=(xorg-server-xvfb) + +# skip xvfb stuff on i486 +if [ "$CARCH" = 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + /export servernum=99/,/done/d + s/.*make/make/ + ' + )" + eval "$( + declare -f check | \ + sed ' + /export servernum=99/,/done/d + s/xvfb-run -s "-screen 0 1280x720x24 -ac +extension GLX" -a -n "$servernum"// + ' + )" +fi -- cgit v1.2.3-70-g09d2