Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add test_18 and test_19 when running in JRuby.

  • Loading branch information...
commit c9fc9c30aefaac2c6600db15ba60600f399a84b8 1 parent fd2b824
@jvshahid jvshahid authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 Rakefile
View
9 Rakefile
@@ -149,9 +149,18 @@ task :java_debug do
ENV['JAVA_OPTS'] = '-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y' if java? && ENV['JAVA_DEBUG']
end
+if java?
+ task :test_18 => :test
+ task :test_19 do
+ ENV['JRUBY_OPTS'] = "--1.9"
+ Rake::Task["test"].invoke
+ end
+end
+
Rake::Task[:test].prerequisites << :compile
Rake::Task[:test].prerequisites << :java_debug
Rake::Task[:test].prerequisites << :check_extra_deps unless java?
+
if Hoe.plugins.include?(:debugging)
['valgrind', 'valgrind:mem', 'valgrind:mem0'].each do |task_name|
Rake::Task["test:#{task_name}"].prerequisites << :compile
Please sign in to comment.
Something went wrong with that request. Please try again.