From: Michael D. Lowis Date: Fri, 29 Aug 2014 23:32:48 +0000 (-0400) Subject: try to fix semaphore build X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=6df249b354eaa32c2dc046452910393d1d64e126;p=projs%2Flibcds.git try to fix semaphore build --- diff --git a/Rakefile b/Rakefile index 35c1427..1d4d432 100644 --- a/Rakefile +++ b/Rakefile @@ -54,13 +54,13 @@ task :test do end desc "Generate test coverage reports" -task :coverage do +task :coverage => [:test] do FileList['build/obj/test_source/**/*.gcno'].each do |gcno| obj = gcno.ext('o') path = File.dirname(obj) gcov = File.basename(obj).ext('c.gcov') sh *['gcov', '-abc', obj] - FileUtils.cp(gcov,"#{path}/#{gcov}") + FileUtils.cp("./#{gcov}","#{path}/#{gcov}") FileUtils.rm(gcov) end end