Return-Path: X-Original-To: apmail-deltacloud-commits-archive@www.apache.org Delivered-To: apmail-deltacloud-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E4F41DB8B for ; Fri, 10 Aug 2012 07:37:49 +0000 (UTC) Received: (qmail 78155 invoked by uid 500); 10 Aug 2012 07:37:49 -0000 Delivered-To: apmail-deltacloud-commits-archive@deltacloud.apache.org Received: (qmail 78085 invoked by uid 500); 10 Aug 2012 07:37:49 -0000 Mailing-List: contact commits-help@deltacloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@deltacloud.apache.org Delivered-To: mailing list commits@deltacloud.apache.org Received: (qmail 77918 invoked by uid 99); 10 Aug 2012 07:37:45 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Aug 2012 07:37:45 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 4AE481C06A; Fri, 10 Aug 2012 07:37:45 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: mfojtik@apache.org To: commits@deltacloud.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [3/7] git commit: Client: Removed unused rake tasks and added test task Message-Id: <20120810073745.4AE481C06A@tyr.zones.apache.org> Date: Fri, 10 Aug 2012 07:37:45 +0000 (UTC) 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 Authored: Wed Aug 8 14:48:31 2012 +0200 Committer: Michal fojtik 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