Skip to content

Commit

Permalink
Added all_interpreted_ir_(18,19) spec run modes
Browse files Browse the repository at this point in the history
  • Loading branch information
subbuss committed Dec 23, 2012
1 parent 51cc3ad commit 24c9b8e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion rakelib/rubyspec.rake
Expand Up @@ -111,6 +111,12 @@ namespace :spec do
:compat => "1.8"
end

desc "All 1.8 specs in interpreted IR mode only"
task :all_interpreted_ir_18 do
mspec :compile_mode => "OFFIR",
:compat => "1.8"
end

desc "All 1.8 specs in JIT mode only (threshold=0)"
task :all_compiled_18 do
mspec :compile_mode => "JIT", :jit_threshold => 0,
Expand Down Expand Up @@ -146,6 +152,11 @@ namespace :spec do
mspec :compile_mode => "OFF", :compat => "1.9"
end

desc "All 1.9 specs in interpreted IR mode only"
task :all_interpreted_ir_19 do
mspec :compile_mode => "OFFIR", :compat => "1.9"
end

desc "All 1.9 specs in JIT mode only (threshold=0)"
task :all_compiled_19 do
mspec :compile_mode => "JIT", :jit_threshold => 0, :compat => "1.9"
Expand Down Expand Up @@ -205,4 +216,4 @@ namespace :spec do
# Obtuseriffic - If any previous spec runs were non-zero return we failed
['OFF', 'JIT', 'FORCE'].any? {|n| ant.properties["spec.status.#{n}"] != "0"}
end
end
end

0 comments on commit 24c9b8e

Please sign in to comment.