forked from lix-project/hydra
Update t/test.pl: fixup the list of env vars yath looks at for job count
This commit is contained in:
parent
33f4c4c13d
commit
a1579007f4
|
@ -16,7 +16,7 @@ use List::SomeUtils qw(none);
|
||||||
if (defined($ENV{"NIX_BUILD_CORES"})
|
if (defined($ENV{"NIX_BUILD_CORES"})
|
||||||
and not defined($ENV{"YATH_JOB_COUNT"})
|
and not defined($ENV{"YATH_JOB_COUNT"})
|
||||||
and not defined($ENV{"T2_HARNESS_JOB_COUNT"})
|
and not defined($ENV{"T2_HARNESS_JOB_COUNT"})
|
||||||
and not defined($ENV{"T2_HARNESS_JOB_COUNT"})) {
|
and not defined($ENV{"HARNESS_JOB_COUNT"})) {
|
||||||
$ENV{"YATH_JOB_COUNT"} = $ENV{"NIX_BUILD_CORES"};
|
$ENV{"YATH_JOB_COUNT"} = $ENV{"NIX_BUILD_CORES"};
|
||||||
print STDERR "test.pl: Defaulting \$YATH_JOB_COUNT to \$NIX_BUILD_CORES (${\$ENV{'NIX_BUILD_CORES'}})\n";
|
print STDERR "test.pl: Defaulting \$YATH_JOB_COUNT to \$NIX_BUILD_CORES (${\$ENV{'NIX_BUILD_CORES'}})\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue