Fix unit test script to ignore coverage data

The script run-test-suite.pl was mistaking .gcda code coverage data files as
test suites. The files are now ignored.
This commit is contained in:
SimonB 2016-03-12 19:06:56 +00:00 committed by Simon Butcher
parent ad8fbc066c
commit 75f3caa408

View file

@ -31,7 +31,7 @@ if ( defined($switch) && ( $switch eq "-v" || $switch eq "--verbose" ) ) {
$verbose = TRUE;
}
my @suites = grep { ! /\.(?:c|gcno)$/ } glob 'test_suite_*';
my @suites = grep { ! /\.(?:c|gcno|gcda)$/ } glob 'test_suite_*';
die "$0: no test suite found\n" unless @suites;
# in case test suites are linked dynamically