remove old test running stuff for extracted providers
This commit is contained in:
parent
c0c24251a8
commit
2d35baf7c9
14
Rakefile
14
Rakefile
|
@ -58,7 +58,7 @@ end
|
||||||
|
|
||||||
GEM_NAME = "#{name}"
|
GEM_NAME = "#{name}"
|
||||||
task :default => :test
|
task :default => :test
|
||||||
task :travis => ['test', 'test:travis', 'test:openstack_specs']
|
task :travis => ['test', 'test:travis']
|
||||||
|
|
||||||
Rake::TestTask.new do |t|
|
Rake::TestTask.new do |t|
|
||||||
t.pattern = File.join("spec", "**", "*_spec.rb")
|
t.pattern = File.join("spec", "**", "*_spec.rb")
|
||||||
|
@ -67,10 +67,7 @@ end
|
||||||
|
|
||||||
namespace :test do
|
namespace :test do
|
||||||
mock = ENV['FOG_MOCK'] || 'true'
|
mock = ENV['FOG_MOCK'] || 'true'
|
||||||
task :openstack_specs do
|
task :travis do
|
||||||
sh("export FOG_MOCK=false && bundle exec rspec spec/fog/openstack/*_spec.rb")
|
|
||||||
end
|
|
||||||
task :travis => [:openstack_specs] do
|
|
||||||
sh("export FOG_MOCK=#{mock} && bundle exec shindont")
|
sh("export FOG_MOCK=#{mock} && bundle exec shindont")
|
||||||
end
|
end
|
||||||
task :openvz do
|
task :openvz do
|
||||||
|
@ -79,16 +76,9 @@ namespace :test do
|
||||||
task :ovirt do
|
task :ovirt do
|
||||||
sh("export FOG_MOCK=#{mock} && bundle exec shindont tests/ovirt")
|
sh("export FOG_MOCK=#{mock} && bundle exec shindont tests/ovirt")
|
||||||
end
|
end
|
||||||
task :openstack do
|
|
||||||
sh("export FOG_MOCK=#{mock} && bundle exec shindont tests/openstack")
|
|
||||||
end
|
|
||||||
task :rackspace do
|
|
||||||
sh("export FOG_MOCK=#{mock} && bundle exec shindont tests/rackspace")
|
|
||||||
end
|
|
||||||
task :cloudstack do
|
task :cloudstack do
|
||||||
sh("export FOG_MOCK=#{mock} && bundle exec shindont tests/cloudstack")
|
sh("export FOG_MOCK=#{mock} && bundle exec shindont tests/cloudstack")
|
||||||
end
|
end
|
||||||
|
|
||||||
task :vcloud_director do
|
task :vcloud_director do
|
||||||
sh("export FOG_MOCK=#{mock} && bundle exec shindont tests/vcloud_director")
|
sh("export FOG_MOCK=#{mock} && bundle exec shindont tests/vcloud_director")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue