From 75f3caa4084e89a0d9eb54cee6ee5d16f32a4b9b Mon Sep 17 00:00:00 2001 From: SimonB Date: Sat, 12 Mar 2016 19:06:56 +0000 Subject: [PATCH] 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. --- tests/scripts/run-test-suites.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scripts/run-test-suites.pl b/tests/scripts/run-test-suites.pl index 0ac2a30fc7..ed3aaab335 100755 --- a/tests/scripts/run-test-suites.pl +++ b/tests/scripts/run-test-suites.pl @@ -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