Permalink
Browse files

Remove "rails" and "prawn" tests from our suite.

These tests did not boot and run properly anyway, and this should
be the domain of Travis. We should only run tests for things we
ship like RubyGems or Rake, and even those should probably just
be punted on to Ci systems like Travis.
  • Loading branch information...
1 parent c8b6e8e commit e6af027c92d48c3b8d27dc2238606f3ee1d0fe39 @headius headius committed Dec 15, 2012
Showing with 0 additions and 46 deletions.
  1. +0 −7 antlib/test.xml
  2. +0 −39 rakelib/test.rake
View
@@ -315,11 +315,4 @@
<arg line="-v test/test_jar_complete.rb"/>
</java>
</target>
-
- <target name="test-rails-stable" depends="jar">
- <rake task="test:rails"/>
- </target>
- <target name="test-prawn" depends="jar">
- <rake task="test:prawn"/>
- </target>
</project>
View
@@ -211,43 +211,4 @@ namespace :test do
t.ruby_opts << '--1.8'
t.ruby_opts << '-X+O'
end
-
- task :rails => [:jar, :install_build_gems, :fetch_latest_rails_repo] do
- # Need to disable assertions because of a rogue assert in OpenSSL
- jrake("#{RAILS_DIR}/activesupport", "test") { jvmarg :line => "-da" }
- jrake("#{RAILS_DIR}/actionmailer", "test")
- jrake("#{RAILS_DIR}/activemodel", "test")
- jrake("#{RAILS_DIR}/railties", "test")
- end
-
- task :prawn => [:jar, :install_build_gems, :fetch_latest_prawn_repo] do
- jrake PRAWN_DIR, "test examples"
- end
-
- # Complementary tasks for testing
-
- desc "Retrieve latest stable rails git repository"
- task :fetch_latest_rails_repo do
- unless git_repo_exists? RAILS_DIR
- git_shallow_clone('rails', RAILS_GIT_REPO, RAILS_DIR)
- else
- git_pull('rails', RAILS_DIR)
- end
- end
-
- desc "Retrieve latest stable prawn git repository"
- task :fetch_latest_prawn_repo do
- unless git_repo_exists? PRAWN_DIR
- git_shallow_clone('prawn', PRAWN_GIT_REPO, PRAWN_DIR) do
- sh "git checkout #{PRAWN_STABLE_VERSION}"
- sh "git submodule init"
- sh "git submodule update"
- end
- else
- git_pull('prawn', PRAWN_DIR) do
- sh "git checkout #{PRAWN_STABLE_VERSION}"
- sh "git submodule update"
- end
- end
- end
end

0 comments on commit e6af027

Please sign in to comment.