diff --git a/testcases/complete-run.pl b/testcases/complete-run.pl index 560dd4c3..c6e74369 100755 --- a/testcases/complete-run.pl +++ b/testcases/complete-run.pl @@ -143,7 +143,7 @@ my $timingsjson = StartXDummy::slurp('.last_run_timings.json'); # Run 000-load-deps.t first to bail out early when dependencies are missing. my $loadtest = "t/000-load-deps.t"; -if ($loadtest ~~ @testfiles) { +if ((scalar grep { $_ eq $loadtest } @testfiles) > 0) { @testfiles = ($loadtest, grep { $_ ne $loadtest } @testfiles); }