From 153259cb1079640e66861b88a877194535387162 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 24 Sep 2013 06:37:40 +0200 Subject: [PATCH] tests: also get rid of smartmatch in complete-run.pl --- testcases/complete-run.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5