Torsten Rüger
b2260d856d
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.
19 lines
344 B
Ruby
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
|