- Added rake targets for running unit tests on individual C modules

git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@44 bf332499-1b4d-0410-844d-d2d48d5cc64c
This commit is contained in:
greg-williams
2008-11-14 21:33:24 +00:00
parent 456c391b14
commit ac1a92a7fe
+13 -1
View File
@@ -19,7 +19,7 @@ task :app do
build_application('Main')
end
namespace :tests do
namespace :test do
desc "Run unit and system tests"
task :all => [:clean, :units, :system, :app]
@@ -36,4 +36,16 @@ namespace :tests do
report_summary
end
get_unit_test_files.each do |test_file|
file_name = File.basename(test_file)
module_name = file_name.sub(/Test/,'')
task file_name do
run_systests(test_file)
end
desc "Test #{module_name}"
task module_name do
run_systests(test_file)
end
end
end