From ea938270808edf3247a441e4ff37bb15174bc3a4 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 9 Aug 2018 15:54:21 +0200 Subject: extra/python: forcing -j1 for test execution --- extra/python/PKGBUILD | 13 +++++++++++++ extra/python2/PKGBUILD | 17 +++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 extra/python/PKGBUILD (limited to 'extra') diff --git a/extra/python/PKGBUILD b/extra/python/PKGBUILD new file mode 100644 index 00000000..53a0513b --- /dev/null +++ b/extra/python/PKGBUILD @@ -0,0 +1,13 @@ +eval "$( + declare -f build | \ + sed " + s/make /make EXTRATESTOPTS='-j 1' / + " +)" + +eval "$( + declare -f check | \ + sed " + s/ -m test.regrtest/ -m test.regrtest -j1/ + " +)" 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/ + " +)" -- cgit v1.2.3 From 46f6650d711377fe3fb23dfe3f89c3a0a61941e3 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 9 Aug 2018 15:54:37 +0200 Subject: extra/python: forcing -j1 for test execution --- extra/python/PKGBUILD | 3 +++ 1 file changed, 3 insertions(+) (limited to 'extra') diff --git a/extra/python/PKGBUILD b/extra/python/PKGBUILD index 53a0513b..30e16fe8 100644 --- a/extra/python/PKGBUILD +++ b/extra/python/PKGBUILD @@ -1,3 +1,6 @@ +# tests run with -j4 per default effectively killing build slaves, +# forcing single threaded execution of tests + eval "$( declare -f build | \ sed " -- cgit v1.2.3