summaryrefslogtreecommitdiff
path: root/extra/python
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-10-22 19:48:46 +0200
committerErich Eckner <git@eckner.net>2018-10-22 19:48:46 +0200
commit29a2ef18154808e622c0cd0b4e993e0e62b6b679 (patch)
tree9909aba272247e1402f8ee01432604a56244f8a3 /extra/python
parentc29a2d11cbb1467d5c54d272557f6299ea2967eb (diff)
downloadpackages-29a2ef18154808e622c0cd0b4e993e0e62b6b679.tar.xz
extra/python: disable xvfb tests on i486
Diffstat (limited to 'extra/python')
-rw-r--r--extra/python/PKGBUILD21
1 files changed, 21 insertions, 0 deletions
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