From f7275666658cc395d2ee2c945e15a4a792fe442e Mon Sep 17 00:00:00 2001 From: "Mike D. Lowis" Date: Fri, 6 Apr 2012 13:11:14 -0400 Subject: [PATCH] Updated default rake task to print coverage info --- rakefile.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rakefile.rb b/rakefile.rb index 2eec605..89e249d 100644 --- a/rakefile.rb +++ b/rakefile.rb @@ -87,7 +87,7 @@ DLangTests.setup_default_rake_tasks() # Main Tasks #------------------------------------------------------------------------------ desc 'Build all binary artifacts and run all tests' -task :default => [ :test, :debug, :release ] +task :default => [ :test, :debug, :release, :coverage ] desc 'Build and link all artifacts' task :release => [ :parse_utils, DLangParser.name() ] @@ -122,7 +122,7 @@ task :unit_test_pp do end desc 'Generate and display the test coverage statistics for each test file' -task :coverage do #=> [ :test ] do +task :coverage => [ :test ] do out_dir = 'build/test/gcov' tests = FileList['tests/**/test_*.cpp'] -- 2.52.0