From 8858abb1a6e62746cc0a05437e02dcce6a6d6f39 Mon Sep 17 00:00:00 2001 From: Rick van Schijndel Date: Wed, 31 Jul 2024 17:10:44 +0200 Subject: [PATCH] t/test.pl: increase event-timeout, set qvf Only log issues/failures when something's actually up. It has irked me for a long time that so much output came out of running the tests, this seems to silence it. It does hide some warnings, but I think it makes the output so much more readable that it's worth the tradeoff. Helps for highly parallel running of jobs, sometimes they'd not give output for a while. Setting this timeout higher appears to help. Not completely sure if this is the right place to do it, but it works fine for me. --- t/test.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/test.pl b/t/test.pl index ba7f3781..12284637 100644 --- a/t/test.pl +++ b/t/test.pl @@ -21,7 +21,7 @@ if (defined($ENV{"NIX_BUILD_CORES"}) print STDERR "test.pl: Defaulting \$YATH_JOB_COUNT to \$NIX_BUILD_CORES (${\$ENV{'NIX_BUILD_CORES'}})\n"; } -system($^X, find_yath(), '-D', 'test', '--default-search' => './', @ARGV); +system($^X, find_yath(), '-D', 'test', '--qvf', '--event-timeout', 240, '--default-search' => './', @ARGV); my $exit = $?; # This makes sure it works with prove.