Commit 75f3caa4 authored by SimonB's avatar SimonB Committed by Simon Butcher

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.
parent ad8fbc06
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment