From a1579007f44bf694a0c8e6a4f356fcb8e56c3c92 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Thu, 10 Feb 2022 11:53:10 -0500 Subject: [PATCH] Update t/test.pl: fixup the list of env vars yath looks at for job count --- t/test.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/test.pl b/t/test.pl index 7f17f107..ba7f3781 100644 --- a/t/test.pl +++ b/t/test.pl @@ -16,7 +16,7 @@ use List::SomeUtils qw(none); if (defined($ENV{"NIX_BUILD_CORES"}) 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{"HARNESS_JOB_COUNT"})) { $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"; }