tests: also get rid of smartmatch in complete-run.pl

This commit is contained in:
Michael Stapelberg 2013-09-24 06:37:40 +02:00
parent ee04f8bfda
commit 153259cb10
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}