From: Michael D. Lowis Date: Fri, 29 Aug 2014 19:04:38 +0000 (-0400) Subject: make coverage a separate task X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=a67cd604fa69b6b5416ce04f02568eca2e3f0452;p=projs%2Flibcds.git make coverage a separate task --- diff --git a/Rakefile b/Rakefile index f2b9635..35c1427 100644 --- a/Rakefile +++ b/Rakefile @@ -51,6 +51,10 @@ task :test do TestEnv.Program('build/test_libcds', Dir['source/**/*.c', 'tests/**/*.c']) TestEnv.process sh "build/test_libcds" +end + +desc "Generate test coverage reports" +task :coverage do FileList['build/obj/test_source/**/*.gcno'].each do |gcno| obj = gcno.ext('o') path = File.dirname(obj)