summaryrefslogtreecommitdiff
path: root/extra/python2
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-08-09 15:54:21 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-08-09 15:54:21 +0200
commitea938270808edf3247a441e4ff37bb15174bc3a4 (patch)
tree7cce8f0c852b1aa0c51b3e7c2644b244486d8c9f /extra/python2
parentb920e9373ee42cb544efcc5cd2eeedb1a9a94f1c (diff)
downloadpackages-ea938270808edf3247a441e4ff37bb15174bc3a4.tar.xz
extra/python: forcing -j1 for test execution
Diffstat (limited to 'extra/python2')
-rw-r--r--extra/python2/PKGBUILD17
1 files changed, 17 insertions, 0 deletions
diff --git a/extra/python2/PKGBUILD b/extra/python2/PKGBUILD
index 7ff6b97e..c93cac57 100644
--- a/extra/python2/PKGBUILD
+++ b/extra/python2/PKGBUILD
@@ -13,3 +13,20 @@ eval "$(
/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/
+ "
+)"