Skip to content
Snippets Groups Projects
Commit 836491f6 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

don't use -j with coverage, it doesn't work

parent fefac078
No related branches found
No related tags found
1 merge request!73Automatically maintain leases
......@@ -10,7 +10,9 @@
let
hypothesisProfile' = if hypothesisProfile == null then "default" else hypothesisProfile;
testSuite' = if testSuite == null then "_zkapauthorizer" else testSuite;
extraTrialArgs = builtins.concatStringsSep " " (if trialArgs == null then ["--rterrors" "--jobs=4" ] else trialArgs);
defaultTrialArgs = [ "--rterrors" ] ++ ( lib.optional ( ! collectCoverage ) "--jobs=4" );
trialArgs' = if trialArgs == null then defaultTrialArgs else trialArgs;
extraTrialArgs = builtins.concatStringsSep " " trialArgs';
in
buildPythonPackage rec {
version = "0.0";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment