Permalink
Browse files

+ Only do phase 1 testing if $SIMPLE=1.

[git-p4: depot-paths = "//src/ruby2ruby/dev/": change = 7883]
  • Loading branch information...
1 parent 0151246 commit 0ddb326852c0e61cc14d666ed1ed33d279512a17 @zenspider zenspider committed Oct 30, 2012
Showing with 24 additions and 22 deletions.
  1. +24 −22 test/test_ruby2ruby.rb
View
@@ -390,27 +390,29 @@ def morph_and_eval src, from, to, processor
new_src
end
-____ = morph_and_eval tr2r, /TestRuby2Ruby/, 'TestRuby2Ruby2', Ruby2Ruby
-ruby = morph_and_eval ir2r, /Ruby2Ruby/, 'Ruby2Ruby2', Ruby2Ruby
-____ = morph_and_eval ruby, /Ruby2Ruby2/, 'Ruby2Ruby3', Ruby2Ruby2
-
-class TestRuby2Ruby1 < TestRuby2Ruby
- def setup
- super
- @processor = Ruby2Ruby2.new
- end
-end
-
-class TestRuby2Ruby3 < TestRuby2Ruby2
- def setup
- super
- @processor = Ruby2Ruby2.new
- end
-end
-
-class TestRuby2Ruby4 < TestRuby2Ruby2
- def setup
- super
- @processor = Ruby2Ruby3.new
+unless ENV["SIMPLE"] then
+ ____ = morph_and_eval tr2r, /TestRuby2Ruby/, 'TestRuby2Ruby2', Ruby2Ruby
+ ruby = morph_and_eval ir2r, /Ruby2Ruby/, 'Ruby2Ruby2', Ruby2Ruby
+ ____ = morph_and_eval ruby, /Ruby2Ruby2/, 'Ruby2Ruby3', Ruby2Ruby2
+
+ class TestRuby2Ruby1 < TestRuby2Ruby
+ def setup
+ super
+ @processor = Ruby2Ruby2.new
+ end
+ end
+
+ class TestRuby2Ruby3 < TestRuby2Ruby2
+ def setup
+ super
+ @processor = Ruby2Ruby2.new
+ end
+ end
+
+ class TestRuby2Ruby4 < TestRuby2Ruby2
+ def setup
+ super
+ @processor = Ruby2Ruby3.new
+ end
end
end

0 comments on commit 0ddb326

Please sign in to comment.