mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-06-06 05:25:29 +00:00
5cada7dbb9
git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@6 bf332499-1b4d-0410-844d-d2d48d5cc64c
28 lines
464 B
Ruby
28 lines
464 B
Ruby
$here = File.dirname(__FILE__)
|
|
|
|
require 'rake'
|
|
require 'rake/clean'
|
|
require 'rake/testtask'
|
|
|
|
|
|
task :default => [ 'tests:all' ]
|
|
|
|
namespace :tests do
|
|
|
|
desc "Run unit and system tests"
|
|
task :all => [ 'units', 'system' ]
|
|
|
|
Rake::TestTask.new('units') do |t|
|
|
t.pattern = 'test//unit/*_test.rb'
|
|
t.verbose = true
|
|
end
|
|
|
|
Rake::TestTask.new('system') do |t|
|
|
t.pattern = 'test//system/*_test.rb'
|
|
t.verbose = true
|
|
end
|
|
|
|
end
|
|
|
|
|