From: Michael Stapelberg Date: Tue, 24 Sep 2013 04:37:40 +0000 (+0200) Subject: tests: also get rid of smartmatch in complete-run.pl X-Git-Tag: 4.7~56 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=153259cb1079640e66861b88a877194535387162;p=i3%2Fi3 tests: also get rid of smartmatch in complete-run.pl --- 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); }