Fix run-test-suite.pl with coverage

This commit is contained in:
Manuel Pégourié-Gonnard 2015-07-15 12:31:12 +02:00
parent 10c767488b
commit e88b49323e

View File

@ -6,7 +6,7 @@ use strict;
use utf8;
use open qw(:std utf8);
my @suites = grep { ! /\.c$/ } glob 'test_suite_*';
my @suites = grep { ! /\.(?:c|gcno)$/ } glob 'test_suite_*';
die "$0: no test suite found\n" unless @suites;
# in case test suites are linked dynamically