]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/bdd/steps/cgi-with-coverage.php
Add tests for the new SPWikiLoader and SPCsvLoader
[nominatim.git] / test / bdd / steps / cgi-with-coverage.php
index 47d3cc9ac6760c248cda6a0f56a33f726b302a90..6f0d79bb2202bde84de2a1b9e9db79c98a5006c2 100644 (file)
@@ -10,7 +10,8 @@ function coverage_shutdown($oCoverage)
 }
 
 $covfilter = new SebastianBergmann\CodeCoverage\Filter();
-$covfilter->addDirectoryToWhitelist($_SERVER['COV_PHP_DIR']);
+$covfilter->addDirectoryToWhitelist($_SERVER['COV_PHP_DIR'].'/lib-php');
+$covfilter->addDirectoryToWhitelist($_SERVER['COV_PHP_DIR'].'/website');
 $coverage = new SebastianBergmann\CodeCoverage\CodeCoverage(null, $covfilter);
 $coverage->start($_SERVER['COV_TEST_NAME']);