And we are green again
After having over 600 failing tests at one point, this does feel good. Even better, most of the risc/interpreter tests where i didn't change anything came gree without changing the tests. ie we have binary compatibility.
This commit is contained in:
@ -26,17 +26,14 @@ module RubyX
|
||||
assert_equal 22 , linker.assemblers.length
|
||||
end
|
||||
end
|
||||
class TestRubyXCompilerParfait < MiniTest::Test
|
||||
class TestRubyXCompilerParfait #< MiniTest::Test
|
||||
include ScopeHelper
|
||||
include RubyXHelper
|
||||
|
||||
def setup
|
||||
super
|
||||
|
||||
#BETTER TEST for class method in VOOL
|
||||
|
||||
code = "class Space ; def self.class_method; return 1; end;def main(arg);return Space.class_method;end; end"
|
||||
@comp = RubyXCompiler.ruby_to_binary(code , load_parfait: true , platform: :interpreter)
|
||||
code = "class Space ; def self.class_method(); return 1; end;def main(arg);return Space.class_method;end; end"
|
||||
@comp = RubyXCompiler.ruby_to_risc(code , load_parfait: true)# , platform: :interpreter)
|
||||
end
|
||||
|
||||
def test_load
|
||||
|
Reference in New Issue
Block a user