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 = '' checkPhase = ''
export HOME="$NIX_BUILD_TOP" export HOME="$NIX_BUILD_TOP"
${python.interpreter} runtests.py \ ${python.interpreter} runtests.py -j$NIX_BUILD_CORES \
${stdenv.lib.optionalString (builtins.length excludedTests != 0) ${stdenv.lib.optionalString (builtins.length excludedTests != 0)
''--exclude="(${builtins.concatStringsSep "|" excludedTests})"''} ''--exclude="(${builtins.concatStringsSep "|" excludedTests})"''}
''; '';