python3Packages.pytest-xdist: change pytestFlagsArray in preCheck hook (#354791)
This commit is contained in:
@@ -45,10 +45,10 @@ buildPythonPackage rec {
|
||||
setproctitle = [ setproctitle ];
|
||||
};
|
||||
|
||||
pytestFlagsArray = [
|
||||
# pytest can already use xdist at this point
|
||||
"--numprocesses=$NIX_BUILD_CORES"
|
||||
];
|
||||
# pytest can already use xdist at this point
|
||||
preCheck = ''
|
||||
appendToVar pytestFlagsArray "--numprocesses=$NIX_BUILD_CORES"
|
||||
'';
|
||||
|
||||
# access file system
|
||||
disabledTests = [
|
||||
|
||||
Reference in New Issue
Block a user