rubyx/test/elf/test_zero.rb
Torsten Rüger b2260d856d 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.
2019-08-14 11:11:26 +03:00

19 lines
344 B
Ruby

require_relative "helper"
module Elf
class TestZeroCode < FullTest
def setup
super
@linker = RubyX::RubyXCompiler.new(RubyX.default_test_options).ruby_to_binary(as_main("return 1"),:arm)
end
def test_empty_translate
writer = Elf::ObjectWriter.new(@linker )
writer.save "test/zero.o"
end
end
end