fix all tests for previous commit
This commit is contained in:
@ -17,7 +17,7 @@ module Elf
|
||||
in_space("def main(arg);#{input};end")
|
||||
end
|
||||
def check(input, file)
|
||||
linker = RubyX::RubyXCompiler.new.ruby_to_binary( input , :arm )
|
||||
linker = RubyX::RubyXCompiler.new(RubyX.default_test_options).ruby_to_binary( input , :arm )
|
||||
writer = Elf::ObjectWriter.new(linker)
|
||||
writer.save "test/#{file}.o"
|
||||
end
|
||||
|
@ -6,7 +6,7 @@ module Elf
|
||||
|
||||
def setup
|
||||
super
|
||||
@linker = RubyX::RubyXCompiler.new.ruby_to_risc(as_main("return 1"),:arm)
|
||||
@linker = RubyX::RubyXCompiler.new(RubyX.default_test_options).ruby_to_risc(as_main("return 1"),:arm)
|
||||
@linker.position_all
|
||||
@linker.create_binary
|
||||
end
|
||||
|
Reference in New Issue
Block a user