pythonPackages.cython: run tests in parallel (#43393)

This commit is contained in:
volth 2018-07-12 08:08:06 +00:00 committed by Robert Schütz
parent 0a18bec139
commit c583bfbf80

View file

@ -44,7 +44,7 @@ in buildPythonPackage rec {
checkPhase = ''
export HOME="$NIX_BUILD_TOP"
${python.interpreter} runtests.py \
${python.interpreter} runtests.py -j$NIX_BUILD_CORES \
${stdenv.lib.optionalString (builtins.length excludedTests != 0)
''--exclude="(${builtins.concatStringsSep "|" excludedTests})"''}
'';