summaryrefslogtreecommitdiff
path: root/extra/python2
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-10-22 20:31:07 +0200
committerErich Eckner <git@eckner.net>2018-10-22 20:31:07 +0200
commite347602e5ccee2d414a32e6773b4b6dfb76303b3 (patch)
tree3c58ef6e21e339bc185c25886d81b70d01369614 /extra/python2
parent1bd0ea10badb502631161b535c94d8a69a50834a (diff)
downloadpackages-e347602e5ccee2d414a32e6773b4b6dfb76303b3.tar.xz
extra/python2: cleanup
Diffstat (limited to 'extra/python2')
-rw-r--r--extra/python2/PKGBUILD22
1 files changed, 5 insertions, 17 deletions
diff --git a/extra/python2/PKGBUILD b/extra/python2/PKGBUILD
index 519a683a..5b876d5a 100644
--- a/extra/python2/PKGBUILD
+++ b/extra/python2/PKGBUILD
@@ -3,32 +3,20 @@
# test_unicode, test_userstring) segfault on i686
# test_bigrepeat (present in test_tuple) segfault on i686
+# tests run with -j4 per default effectively killing build slaves,
+# forcing single threaded execution of tests
+
eval "$(
declare -f build | \
sed '
/export OPT=/ s/";$/ -fwrapv";/
+ s/make/make EXTRATESTOPTS='"'"'-j 1'"'"' /
'
declare -f check | \
sed '
/xvfb-run/ s/-x test_idle/-x test_idle test_bytes test_str test_string test_unicode test_userstring test_tuple/
- '
-)"
-
-# tests run with -j4 per default effectively killing build slaves,
-# forcing single threaded execution of tests
-
-eval "$(
- declare -f build | \
- sed "
- s/make/make EXTRATESTOPTS='-j 1' /
- "
-)"
-
-eval "$(
- declare -f check | \
- sed "
s/ -m test.regrtest/ -m test.regrtest -j1/
- "
+ '
)"
makedepends=(${makedepends[@]//xorg-server-xvfb/})