deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [3/7] git commit: Client: Removed unused rake tasks and added test task
Date Fri, 10 Aug 2012 07:37:45 GMT
Client: Removed unused rake tasks and added test task

* Fixtures generators are not needed
* Removed task for deltacloudc
* Added minitest task


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/66d58b9a
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/66d58b9a
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/66d58b9a

Branch: refs/heads/master
Commit: 66d58b9a727ec15904e123233f9af24dad9a8b5c
Parents: 68e0eb0
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Wed Aug 8 14:48:31 2012 +0200
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Fri Aug 10 09:38:21 2012 +0200

----------------------------------------------------------------------
 client/Rakefile |   27 ++++-----------------------
 1 files changed, 4 insertions(+), 23 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/66d58b9a/client/Rakefile
----------------------------------------------------------------------
diff --git a/client/Rakefile b/client/Rakefile
index c5a9f70..9ced4ad 100644
--- a/client/Rakefile
+++ b/client/Rakefile
@@ -26,7 +26,6 @@ task 'documentation' do
   load 'lib/documentation.rb'
 end
 
-
 spec = Gem::Specification.load('deltacloud-client.gemspec')
 Gem::PackageTask.new(spec) do |pkg|
   pkg.need_tar = true
@@ -56,26 +55,8 @@ task :reinstall do
   puts %x{gem install deltacloud-client-*.gem --local}
 end
 
-desc "Setup Fixtures"
-task 'fixtures' do
-  FileUtils.rm_rf( File.dirname( __FILE__ ) + '/specs/data' )
-  FileUtils.cp_r( File.dirname( __FILE__ ) + '/specs/fixtures', File.dirname( __FILE__ )
+ '/specs/data' )
-end
-
-namespace :test do
-  Rake::TestTask.new(:cmd) do |t|
-    t.libs << "tests"
-    t.test_files = FileList['tests/cmd.rb']
-    t.verbose = true
-  end
-end
-
-desc "Clean Fixtures"
-task 'fixtures:clean' do
-  FileUtils.rm_rf( File.dirname( __FILE__ ) + '/specs/data' )
-end
-
-begin
-  require 'ci/reporter/rake/rspec'
-rescue LoadError
+Rake::TestTask.new(:test) do |t|
+  t.test_files = FileList[
+    'tests/*test.rb',                     # EC2 frontend internal API tests
+  ]
 end


Mime
View raw message