pythonPackages.cython: run tests in parallel (#43393)
This commit is contained in:
parent
0a18bec139
commit
c583bfbf80
@ -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})"''}
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user