[mlpack-git] master: Used max_cov_count in removing negative line counts in coverage (bd8a287)

gitdub at mlpack.org gitdub at mlpack.org
Thu Sep 15 20:23:11 EDT 2016


Repository : https://github.com/mlpack/mlpack
On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/3f5503bfe71dbbda4b4551c9cdfaba8b819565ad...4643572e59288227d8bd8534f55f11ac978666b9

>---------------------------------------------------------------

commit bd8a287de94c0245961a1359a7029cb15f64b871
Author: sumedhghaisas <sumedhghaisas at gmail.com>
Date:   Fri Sep 16 05:53:11 2016 +0530

    Used max_cov_count in removing negative line counts in coverage


>---------------------------------------------------------------

bd8a287de94c0245961a1359a7029cb15f64b871
 CMake/mlpack_coverage.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMake/mlpack_coverage.in b/CMake/mlpack_coverage.in
index 6351b12..547c9fa 100755
--- a/CMake/mlpack_coverage.in
+++ b/CMake/mlpack_coverage.in
@@ -93,7 +93,7 @@ fi
 
 echo "Filtering coverage files..."
 # Clear negative entries in coverage file
-sed -E 's/-([0-9]+)/50000/g' -i .coverage.wtest.run
+sed -E 's/-([0-9]+)/$max_cov_count/g' -i .coverage.wtest.run
 # Merge coverage tracefiles.
 lcov -a .coverage.wtest.base -a .coverage.wtest.run  -o .coverage.total >> ./coveragehistory/$current_log_file
 




More information about the mlpack-git mailing list