From 773654dbb85f420c8292d6455acfb9dd4309f21f Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 13 Nov 2012 21:04:13 +0100 Subject: [PATCH] complete-run: run 000-load-deps as early as possible --- testcases/complete-run.pl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/testcases/complete-run.pl b/testcases/complete-run.pl index d73bb332..b8121802 100755 --- a/testcases/complete-run.pl +++ b/testcases/complete-run.pl @@ -137,6 +137,12 @@ my $timingsjson = StartXDummy::slurp('.last_run_timings.json'); sort { $b->[1] <=> $a->[1] } map { [$_, $timings{$_} // 999] } @testfiles; +# Run 000-load-deps.t first to bail out early when dependencies are missing. +my $loadtest = "t/000-load-deps.t"; +if ($loadtest ~~ @testfiles) { + @testfiles = ($loadtest, grep { $_ ne $loadtest } @testfiles); +} + printf("\nRough time estimate for this run: %.2f seconds\n\n", $timings{GLOBAL}) if exists($timings{GLOBAL}); -- 2.39.5